openbsd-ports/net/gajim/patches/patch-src_Makefile
2006-05-25 17:56:10 +00:00

14 lines
619 B
Plaintext

$OpenBSD: patch-src_Makefile,v 1.2 2006/05/25 17:56:10 jolan Exp $
--- src/Makefile.orig Mon May 8 12:43:56 2006
+++ src/Makefile Mon May 8 12:43:56 2006
@@ -1,7 +1,7 @@
# Set the C flags to include the GTK+ and Python libraries
PYTHONVER = `python -c 'import sys; print sys.version[:3]'`
-CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC -I/usr/include/python$(PYTHONVER) -I.
-LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0` -lpython$(PYTHONVER)
+CFLAGS += `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC ${PY_CFLAGS} -I.
+LDFLAGS += `pkg-config --libs gtk+-2.0 pygtk-2.0`
all: trayicon.so gtkspell.so