summaryrefslogtreecommitdiffstats
path: root/audio/darkice/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-20 12:50:47 +0000
committerijliao <ijliao@FreeBSD.org>2002-11-20 12:50:47 +0000
commit1c5cbb5ec302acdedb7f92cab8ef3e868ad3e036 (patch)
tree2c87091c30381a08d5a422a01a9735f5c3fcdc54 /audio/darkice/Makefile
parent4b7af62111041bff3da91dbae45d15925237de89 (diff)
downloadFreeBSD-ports-1c5cbb5ec302acdedb7f92cab8ef3e868ad3e036.zip
FreeBSD-ports-1c5cbb5ec302acdedb7f92cab8ef3e868ad3e036.tar.gz
upgrade to 0.12
PR: 45437 Submitted by: Ports Fury
Diffstat (limited to 'audio/darkice/Makefile')
-rw-r--r--audio/darkice/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
index b59d870..8ecd148 100644
--- a/audio/darkice/Makefile
+++ b/audio/darkice/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= darkice
-PORTVERSION= 0.11
+PORTVERSION= 0.12
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,12 +17,23 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
vorbis.2:${PORTSDIR}/audio/libvorbis
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-lame-prefix=${LOCALBASE} \
--with-vorbis-prefix=${LOCALBASE}
MAN1= darkice.1
MAN5= darkice.cfg.5
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 5000000
+USE_GCC= 3.1
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud