summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-10-24 04:56:33 +0000
committermarcus <marcus@FreeBSD.org>2003-10-24 04:56:33 +0000
commit26abcdd27885d11b98c534278d5e3e6544f9970f (patch)
tree6fb0fa142cbbb5104420011cd1502d77c3d450c0
parentb3daf11899cb71a8ca185d1ebb3ccc23db9b3f5e (diff)
downloadFreeBSD-ports-26abcdd27885d11b98c534278d5e3e6544f9970f.zip
FreeBSD-ports-26abcdd27885d11b98c534278d5e3e6544f9970f.tar.gz
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
-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 8f37370..83f77a7 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>
OpenPOWER on IntegriCloud