diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-03-19 23:01:48 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-03-19 23:01:48 +0000 |
commit | f0a4a6be40496469ee45b884c662408d0643b7fd (patch) | |
tree | a282eff42545f2e69a47b2ae037a8d81c38edb16 | |
parent | fbb546122aa218bbb38d2dd643f39425c611aec2 (diff) | |
download | freebsd-ports-f0a4a6be40496469ee45b884c662408d0643b7fd.zip |
Better fix for amd64 (and ia64, omitted in previous); only compile with
-fPIC those files that require it.
-rw-r--r-- | x11-wm/golem/Makefile | 3 | ||||
-rw-r--r-- | x11-wm/golem/files/patch-plugins::Makefile.plugin.in | 10 |
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@ + |