summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-11-26 10:35:19 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-11-26 10:35:19 +0000
commite1f5de0ecdc97def89a9f8385041fbfc06fca478 (patch)
tree1a4e3f9cb08ca051726694b6aeee2a1af2325356 /editors
parentFix build on 5.x. (diff)
Add -fPIC to CFLAGS on IA64 and AMD64.
Fixes build (tested on pluto2). Reported by: kris
Notes
Notes: svn path=/head/; revision=94792
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>