diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gkrellmlaunch/Makefile | 7 | ||||
-rw-r--r-- | misc/gkrellmlaunch2/Makefile | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/misc/gkrellmlaunch/Makefile b/misc/gkrellmlaunch/Makefile index 1ed1fee05561..001d4120acbf 100644 --- a/misc/gkrellmlaunch/Makefile +++ b/misc/gkrellmlaunch/Makefile @@ -23,8 +23,13 @@ USE_X_PREFIX= yes USE_GNOME= imlib ALL_TARGET= ${PORTNAME}.so +.include <bsd.port.pre.mk> +.if ${ARCH} == "amd64" +CFLAGS= -fPIC +.endif + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.so \ ${PREFIX}/libexec/gkrellm/plugins -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/misc/gkrellmlaunch2/Makefile b/misc/gkrellmlaunch2/Makefile index 1ed1fee05561..001d4120acbf 100644 --- a/misc/gkrellmlaunch2/Makefile +++ b/misc/gkrellmlaunch2/Makefile @@ -23,8 +23,13 @@ USE_X_PREFIX= yes USE_GNOME= imlib ALL_TARGET= ${PORTNAME}.so +.include <bsd.port.pre.mk> +.if ${ARCH} == "amd64" +CFLAGS= -fPIC +.endif + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.so \ ${PREFIX}/libexec/gkrellm/plugins -.include <bsd.port.mk> +.include <bsd.port.post.mk> |