aboutsummaryrefslogtreecommitdiff
path: root/audio/libmikmod
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:22:14 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:22:14 +0000
commit31154892b641cd15adf68371929358d08862d264 (patch)
tree04c60b5eee34ac32bb4e64c7f467d3bf71838892 /audio/libmikmod
parent9b646e86c33d57c3d495a4a0218969df75dcbd63 (diff)
downloadports-31154892b641cd15adf68371929358d08862d264.tar.gz
ports-31154892b641cd15adf68371929358d08862d264.zip
Notes
Diffstat (limited to 'audio/libmikmod')
-rw-r--r--audio/libmikmod/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/libmikmod/Makefile b/audio/libmikmod/Makefile
index 006b2eca2e5b..6f740b58ef14 100644
--- a/audio/libmikmod/Makefile
+++ b/audio/libmikmod/Makefile
@@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= apps/sound/libs
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_ESOUND= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
@@ -26,7 +27,7 @@ post-extract:
@${RM} -f ${WRKSRC}/docs/mikmod.info-*
post-patch:
- @${PERL} -pi -e 's|\$$CFLAGS -pthread|\$$CFLAGS ${PTHREAD_CFLAGS}|g ; \
+ @${REINPLACE_CMD} -e 's|\$$CFLAGS -pthread|\$$CFLAGS ${PTHREAD_CFLAGS}|g ; \
s|-pthread \$$REENTRANT|\$$REENTRANT ${PTHREAD_CFLAGS}|g ; \
s|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \
s|-lc_r|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure