aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
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 8c305f9524b..c1398755ed6 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 8c305f9524b..c1398755ed6 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 8c305f9524b..c1398755ed6 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>