summaryrefslogtreecommitdiffstats
path: root/editors/koffice-kde3
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-11-26 10:35:19 +0000
committerarved <arved@FreeBSD.org>2003-11-26 10:35:19 +0000
commita5eee95abfe1e72d0dac76bfa1fe8eefd7afb154 (patch)
tree9798eacacbaf887d0f249045541f04a82ead5689 /editors/koffice-kde3
parentf90aae00e507e250c07a1eb35d1b4bab124cdfd4 (diff)
downloadFreeBSD-ports-a5eee95abfe1e72d0dac76bfa1fe8eefd7afb154.zip
FreeBSD-ports-a5eee95abfe1e72d0dac76bfa1fe8eefd7afb154.tar.gz
Add -fPIC to CFLAGS on IA64 and AMD64.
Fixes build (tested on pluto2). Reported by: kris
Diffstat (limited to 'editors/koffice-kde3')
-rw-r--r--editors/koffice-kde3/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/koffice-kde3/Makefile b/editors/koffice-kde3/Makefile
index 8c305f9..c139875 100644
--- a/editors/koffice-kde3/Makefile
+++ b/editors/koffice-kde3/Makefile
@@ -39,4 +39,8 @@ LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include <bsd.port.pre.mk>
+.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud