diff options
-rw-r--r-- | editors/calligra/Makefile | 4 | ||||
-rw-r--r-- | editors/koffice-kde3/Makefile | 4 | ||||
-rw-r--r-- | editors/koffice-kde4/Makefile | 4 |
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> |