summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-15 12:11:09 +0000
committerkris <kris@FreeBSD.org>2004-03-15 12:11:09 +0000
commit07521e53a760fe8d2f4ef5abcda2476d61549ef7 (patch)
tree0bb5ce48141b5ac5c991234d92ea21056d072ecd /x11-toolkits
parentc2f82e174ca6236edd83b7c586e4f830b5ce96c0 (diff)
downloadFreeBSD-ports-07521e53a760fe8d2f4ef5abcda2476d61549ef7.zip
FreeBSD-ports-07521e53a760fe8d2f4ef5abcda2476d61549ef7.tar.gz
Fix build on amd64 (shared library objects must be compiled with -fPIC)
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/py-gtkscintilla/files/patch-aa11
1 files changed, 4 insertions, 7 deletions
diff --git a/x11-toolkits/py-gtkscintilla/files/patch-aa b/x11-toolkits/py-gtkscintilla/files/patch-aa
index 803b4b0..77de7612 100644
--- a/x11-toolkits/py-gtkscintilla/files/patch-aa
+++ b/x11-toolkits/py-gtkscintilla/files/patch-aa
@@ -1,11 +1,8 @@
-
-$FreeBSD$
-
---- Makefile.orig Mon May 14 11:45:22 2001
-+++ Makefile Tue May 15 15:41:54 2001
+--- Makefile.orig Thu Feb 7 08:34:54 2002
++++ Makefile Mon Mar 15 04:10:30 2004
@@ -1,14 +1,16 @@
NAME = PyGtkScintilla
- VERSION = 0.7.0
+ VERSION = 0.8.2
-CC = gcc
+CC ?= gcc
@@ -22,7 +19,7 @@ $FreeBSD$
+GTK_LDFLAGS != $(GTK_CONFIG) --libs
+GTK_CFLAGS != $(GTK_CONFIG) --cflags
+LDFLAGS = -pthread -shared $(GTK_LDFLAGS) -lgtkscintilla
-+CFLAGS += -D_THREAD_SAFE $(GTK_CFLAGS) -I$(PYTHON_INCLUDE) -I${X11BASE}/include/scintilla
++CFLAGS += -D_THREAD_SAFE -fPIC $(GTK_CFLAGS) -I$(PYTHON_INCLUDE) -I${X11BASE}/include/scintilla
all: _gtkscintillamodule.so
OpenPOWER on IntegriCloud