aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-19 23:01:48 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-19 23:01:48 +0000
commitf0a4a6be40496469ee45b884c662408d0643b7fd (patch)
treea282eff42545f2e69a47b2ae037a8d81c38edb16 /x11-wm
parentfbb546122aa218bbb38d2dd643f39425c611aec2 (diff)
downloadports-f0a4a6be40496469ee45b884c662408d0643b7fd.tar.gz
ports-f0a4a6be40496469ee45b884c662408d0643b7fd.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/golem/Makefile3
-rw-r--r--x11-wm/golem/files/patch-plugins::Makefile.plugin.in10
2 files changed, 10 insertions, 3 deletions
diff --git a/x11-wm/golem/Makefile b/x11-wm/golem/Makefile
index 9463619b9448..7c9c1a5e7897 100644
--- a/x11-wm/golem/Makefile
+++ b/x11-wm/golem/Makefile
@@ -33,7 +33,4 @@ GNU_CONFIGURE= yes
MANCOMPRESSED= yes
MAN1= golem.1
-.if ${MACHINE_ARCH:L} == "amd64"
-CFLAGS+= -fPIC
-.endif
.include <bsd.port.mk>
diff --git a/x11-wm/golem/files/patch-plugins::Makefile.plugin.in b/x11-wm/golem/files/patch-plugins::Makefile.plugin.in
new file mode 100644
index 000000000000..59401a922859
--- /dev/null
+++ b/x11-wm/golem/files/patch-plugins::Makefile.plugin.in
@@ -0,0 +1,10 @@
+--- plugins/Makefile.plugin.in.orig Fri Mar 19 15:00:46 2004
++++ plugins/Makefile.plugin.in Fri Mar 19 15:00:57 2004
+@@ -1,6 +1,6 @@
+ # plugin makefiles include this
+ CC= @CC@
+-CFLAGS= @CFLAGS@ -I../../src/ -I../include/ @X_CFLAGS@
++CFLAGS= @CFLAGS@ -I../../src/ -I../include/ -fPIC @X_CFLAGS@
+ CFLAGS+= @DEFS@
+ LDFLAGS= @SHARED_FLAG@
+