aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-11-26 18:35:19 +0800
committerarved <arved@FreeBSD.org>2003-11-26 18:35:19 +0800
commita5eee95abfe1e72d0dac76bfa1fe8eefd7afb154 (patch)
tree9798eacacbaf887d0f249045541f04a82ead5689 /editors
parentf90aae00e507e250c07a1eb35d1b4bab124cdfd4 (diff)
downloadfreebsd-ports-gnome-a5eee95abfe1e72d0dac76bfa1fe8eefd7afb154.tar.gz
freebsd-ports-gnome-a5eee95abfe1e72d0dac76bfa1fe8eefd7afb154.tar.zst
freebsd-ports-gnome-a5eee95abfe1e72d0dac76bfa1fe8eefd7afb154.zip
Add -fPIC to CFLAGS on IA64 and AMD64.
Fixes build (tested on pluto2). Reported by: kris
Diffstat (limited to 'editors')
-rw-r--r--editors/calligra/Makefile4
-rw-r--r--editors/koffice-kde3/Makefile4
-rw-r--r--editors/koffice-kde4/Makefile4
3 files changed, 12 insertions, 0 deletions
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile
index 8c305f9524b3..c1398755ed66 100644
--- a/editors/calligra/Makefile
+++ b/editors/calligra/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>
diff --git a/editors/koffice-kde3/Makefile b/editors/koffice-kde3/Makefile
index 8c305f9524b3..c1398755ed66 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>
diff --git a/editors/koffice-kde4/Makefile b/editors/koffice-kde4/Makefile
index 8c305f9524b3..c1398755ed66 100644
--- a/editors/koffice-kde4/Makefile
+++ b/editors/koffice-kde4/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>