diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 12:50:47 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 12:50:47 +0000 |
commit | 1930c28d98018e39bc999b52ade061ecbb971ab7 (patch) | |
tree | 4c7d1c719d97027202e1be12afad42d435c0026d /audio/darkice/Makefile | |
parent | upgrade to 2.6 (diff) |
upgrade to 0.12
PR: 45437
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=70580
Diffstat (limited to 'audio/darkice/Makefile')
-rw-r--r-- | audio/darkice/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile index b59d8700240e..8ecd148839d4 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> |