summaryrefslogtreecommitdiff
path: root/misc/gkrellm-helium/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-10-24 04:56:33 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-10-24 04:56:33 +0000
commit8ea4ea5386513e45fe642f0fb822ad4f41f2c70c (patch)
tree09d7cd1be567353ff8f1fddb010be7cd90cf3d1e /misc/gkrellm-helium/Makefile
parentAdd libglut 5.0.2, a port of libglut from Mesa. libglut will be removed from (diff)
Unbreak this port on amd64.
PR: 58468 Submitted by: maintainer Noticed by: bento Prompted by: kris Not tested on: amd64 Does not break on: i386 Fix stolen from: multimedia/gstreamer-plugins
Notes
Notes: svn path=/head/; revision=92033
Diffstat (limited to '')
-rw-r--r--misc/gkrellm-helium/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/gkrellm-helium/Makefile b/misc/gkrellm-helium/Makefile
index 8f373706ad6d..83f77a701990 100644
--- a/misc/gkrellm-helium/Makefile
+++ b/misc/gkrellm-helium/Makefile
@@ -22,7 +22,8 @@ USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|/usr/local/lib/gkrellm2/plugins|${PREFIX}/libexec/gkrellm2/plugins|' ${WRKSRC}/Makefile
+ s|/usr/local/lib/gkrellm2/plugins|${PREFIX}/libexec/gkrellm2/plugins| ; \
+ s|gcc -c|gcc -c -fPIC|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|ulong|u_long|' ${WRKSRC}/*.c
.include <bsd.port.mk>