Browse Source

koffice: fixed to compile with python 2.6

karasz/qt
Alejandro Mery 15 years ago
parent
commit
4c8ba2dfce
  1. 8
      kde/koffice/koffice.conf

8
kde/koffice/koffice.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../koffice/koffice.conf
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2007 - 2009 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
@ -15,5 +15,9 @@
# --- SDE-COPYRIGHT-NOTE-END ---
var_append confopt ' ' "--enable-pgsql=no"
makeopt="$makeopt"' LIBPYTHON="-ltcl -ltk -lpython2.4"'
if pkginstalled python; then
pyver=$(pkgprefix ver python | cut -d. -f1-2)
var_append makeopt ' ' "'LIBPYTHON=-ltcl -ltk -lpython$pyver'"
fi

Loading…
Cancel
Save