diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-02-01 17:04:16 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-02-01 17:04:16 +0000 |
commit | ec4b08743e2b44927790aafa9df22814cac3ad27 (patch) | |
tree | 96b78a6e21e3ca0a5eb60fdc0cad4f4aa1b5925f /audio/cdparanoia | |
parent | c981a471c302aaa1aac3e62a68f991519142fbb6 (diff) | |
download | ports-ec4b08743e2b44927790aafa9df22814cac3ad27.tar.gz ports-ec4b08743e2b44927790aafa9df22814cac3ad27.zip |
Fix build on -CURRENT.
PR: ports/47696
Pointed out by: Jonas Engman
Submitted by: Simon Schubert <corecode@corecode.ath.cx> (maintainer)
Notes
Notes:
svn path=/head/; revision=74425
Diffstat (limited to 'audio/cdparanoia')
-rw-r--r-- | audio/cdparanoia/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/audio/cdparanoia/Makefile b/audio/cdparanoia/Makefile index 0da645cb81d4..3b6899b54ee4 100644 --- a/audio/cdparanoia/Makefile +++ b/audio/cdparanoia/Makefile @@ -7,7 +7,7 @@ PORTNAME= cdparanoia PORTVERSION= 3.9.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio sysutils MASTER_SITES= http://www.xiph.org/paranoia/download/ DISTNAME= ${PORTNAME}-${PORTVERSION:C/^3\./III-alpha/} @@ -15,19 +15,20 @@ EXTRACT_SUFX= .src.tgz MAINTAINER= corecode@corecode.ath.cx +.if !exists(/usr/include/getopt.h) CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500041 + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt" LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt .endif INSTALLS_SHLIB= yes GNU_CONFIGURE= yes USE_GMAKE= yes +USE_REINPLACE= yes MAN1= cdparanoia.1 -.include <bsd.port.post.mk> +post-patch: + @${REINPLACE_CMD} -e 's/\(^ *default:\)/\1break;/' ${WRKSRC}/interface/utils.h + +.include <bsd.port.mk> |