mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Fix install
This commit is contained in:
parent
3f50390e89
commit
8816957231
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105598
@ -23,15 +23,12 @@ GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502103
|
||||
BROKEN= "Does not install on FreeBSD >= 5.x"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
||||
@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|"SDL/SDL|"SDL|g ; \
|
||||
s|<SDL/SDL|<SDL|g'
|
||||
@${REINPLACE_CMD} -e 's|--mode=666||g' ${WRKSRC}/src/Makefile.in
|
||||
|
||||
post-install:
|
||||
${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
|
||||
|
Loading…
Reference in New Issue
Block a user