aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
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@
+