diff options
author | kris <kris@FreeBSD.org> | 2004-03-15 20:11:09 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-03-15 20:11:09 +0800 |
commit | 07521e53a760fe8d2f4ef5abcda2476d61549ef7 (patch) | |
tree | 0bb5ce48141b5ac5c991234d92ea21056d072ecd /x11-toolkits/py-gtkscintilla | |
parent | c2f82e174ca6236edd83b7c586e4f830b5ce96c0 (diff) | |
download | freebsd-ports-gnome-07521e53a760fe8d2f4ef5abcda2476d61549ef7.tar.gz freebsd-ports-gnome-07521e53a760fe8d2f4ef5abcda2476d61549ef7.tar.zst freebsd-ports-gnome-07521e53a760fe8d2f4ef5abcda2476d61549ef7.zip |
Fix build on amd64 (shared library objects must be compiled with -fPIC)
Diffstat (limited to 'x11-toolkits/py-gtkscintilla')
-rw-r--r-- | x11-toolkits/py-gtkscintilla/files/patch-aa | 11 |
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 803b4b061b1b..77de76125add 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 |