aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2004-03-06 15:50:35 +0800
committerpat <pat@FreeBSD.org>2004-03-06 15:50:35 +0800
commitaceea08e07de4cd9205c9b4fd406c720bc47ea19 (patch)
tree13ddc5948d05a9d100f90163f898d4b481d3479f /misc
parentfc47ac9885d604ead7515a4bc61bceb04c6770b4 (diff)
downloadfreebsd-ports-gnome-aceea08e07de4cd9205c9b4fd406c720bc47ea19.tar.gz
freebsd-ports-gnome-aceea08e07de4cd9205c9b4fd406c720bc47ea19.tar.zst
freebsd-ports-gnome-aceea08e07de4cd9205c9b4fd406c720bc47ea19.zip
Fix on amd64
PR: 63109 Submitted by: Hendrik Scholz <hendrik@scholz.net>
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>