mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
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
This commit is contained in:
parent
4677a5227f
commit
8ea4ea5386
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92033
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user