summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2004-03-06 07:50:35 +0000
committerPatrick Li <pat@FreeBSD.org>2004-03-06 07:50:35 +0000
commitdfcc7ac2bae825bba892583a02735dd16bb4a069 (patch)
treea046475bb2889706db621dbb41ac3d9f5c8b418e /misc
parentUpdate to 0.68. (diff)
Fix on amd64
PR: 63109 Submitted by: Hendrik Scholz <hendrik@scholz.net>
Notes
Notes: svn path=/head/; revision=103073
Diffstat (limited to 'misc')
-rw-r--r--misc/gkrellmlaunch/Makefile7
-rw-r--r--misc/gkrellmlaunch2/Makefile7
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>