You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
pkg-config is used to create all the linker flags but misses '-lpython2.7' which is required to fix the error in the ticket. It's not possible to change pkg-config output from this port's context (and dangerous). It's not possible to patch the generated src/Makefile because in it are paths relative to a specific MacPorts install. Appending to the variable in configure is therefore the simplest solution. Closes: https://trac.macports.org/ticket/65092
13 lines
417 B
Diff
13 lines
417 B
Diff
diff --git a/configure b/configure
|
|
index f2385bc..2957dd7 100755
|
|
--- configure.orig
|
|
+++ configure
|
|
@@ -18983,6 +18983,7 @@ if test -n "$PKG_CONFIG"; then
|
|
(exit $ac_status); }; then
|
|
pkg_cv_NOTIFY_PYTHON_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= $PYGTK_REQUIRED
|
|
libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
|
|
+ pkg_cv_NOTIFY_PYTHON_LIBS+=" -lpython2.7"
|
|
else
|
|
pkg_failed=yes
|
|
fi
|