diff options
author | Patrick Li <pat@FreeBSD.org> | 2004-03-06 07:50:35 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2004-03-06 07:50:35 +0000 |
commit | dfcc7ac2bae825bba892583a02735dd16bb4a069 (patch) | |
tree | a046475bb2889706db621dbb41ac3d9f5c8b418e | |
parent | Update to 0.68. (diff) |
Fix on amd64
PR: 63109
Submitted by: Hendrik Scholz <hendrik@scholz.net>
Notes
Notes:
svn path=/head/; revision=103073
-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> |