audio/playgsf: Remove packaged static library which circumvents Makefile

It appears that the static resample library should not have been part
of the distribution tarball.  It's presence causes libresample.a not to
be built and to be used instead.  It was detected by DF's ar programs
which reported it as malformed.  Fix the distribution issue by removing
the pre-existing library and force it to be rebuilt.

Approved by:	just-fix-it
This commit is contained in:
John Marino 2016-12-17 17:54:00 +00:00
parent ae9ba0378e
commit 6b0cee2259
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428792

View file

@ -3,7 +3,7 @@
PORTNAME= playgsf PORTNAME= playgsf
PORTVERSION= 0.7.1 PORTVERSION= 0.7.1
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= audio CATEGORIES= audio
MASTER_SITES= http://projects.raphnet.net/playgsf/ \ MASTER_SITES= http://projects.raphnet.net/playgsf/ \
LOCAL/ehaupt LOCAL/ehaupt
@ -28,6 +28,10 @@ ONLY_FOR_ARCHS= i386 amd64
PORTSCOUT= skipv:0.7.2 PORTSCOUT= skipv:0.7.2
post-extract:
# Don't use accidentally packaged static library
@${RM} ${WRKSRC}/libresample-0.1.3/libresample.a
post-patch: post-patch:
@${REINPLACE_CMD} \ @${REINPLACE_CMD} \
-e 's|\([[:space:]]*\).*configure.*|\1@true|' \ -e 's|\([[:space:]]*\).*configure.*|\1@true|' \