summaryrefslogtreecommitdiffstats
path: root/audio/libmikmod/Makefile
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-03-07 02:42:41 +0000
committerpat <pat@FreeBSD.org>2002-03-07 02:42:41 +0000
commit9d7f34340e0091d83310b05efef6a3374a0ebd8c (patch)
tree24511cd89c65285a8875c7aed5ef1abd05344aa7 /audio/libmikmod/Makefile
parent06117e7fe45884afa73c88b7dd07f405b5fa4763 (diff)
downloadFreeBSD-ports-9d7f34340e0091d83310b05efef6a3374a0ebd8c.zip
FreeBSD-ports-9d7f34340e0091d83310b05efef6a3374a0ebd8c.tar.gz
Update to 3.1.10
PR: 35613 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'audio/libmikmod/Makefile')
-rw-r--r--audio/libmikmod/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/audio/libmikmod/Makefile b/audio/libmikmod/Makefile
index 7b65bf3..006b2ec 100644
--- a/audio/libmikmod/Makefile
+++ b/audio/libmikmod/Makefile
@@ -6,25 +6,29 @@
#
PORTNAME= libmikmod
-PORTVERSION= 3.1.9
+PORTVERSION= 3.1.10
CATEGORIES= audio
-MASTER_SITES= http://www.mikmod.org/files/libmikmod/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= sada
+MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+ http://www.mikmod.org/files/libmikmod/
+MASTER_SITE_SUBDIR= apps/sound/libs
MAINTAINER= ports@FreeBSD.org
USE_ESOUND= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
+CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
INSTALLS_SHLIB= yes
MAN1= libmikmod-config.1
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+post-extract:
+ @${RM} -f ${WRKSRC}/docs/mikmod.info-*
-pre-build:
- ${RM} -rf ${WRKSRC}/docs/mikmod.info-*
+post-patch:
+ @${PERL} -pi -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
.include <bsd.port.mk>
OpenPOWER on IntegriCloud