summaryrefslogtreecommitdiff
path: root/audio/vorbis
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-10-06 03:17:09 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-10-06 03:17:09 +0000
commit4c258f3168d5f0ecfa7bcde011dad3ca148a3b37 (patch)
treee6dcdf80259e6357d6a54395213ec0cd56a2bb2a /audio/vorbis
parent2af0082fc41393b3e25dddf23ffd2c0f0f52bcab (diff)
downloadpkgsrc-4c258f3168d5f0ecfa7bcde011dad3ca148a3b37.tar.gz
make this work on 1.4.x systems which don't include getopt_long
Diffstat (limited to 'audio/vorbis')
-rw-r--r--audio/vorbis/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/vorbis/Makefile b/audio/vorbis/Makefile
index a35576d8b05..48122499447 100644
--- a/audio/vorbis/Makefile
+++ b/audio/vorbis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/08/19 07:50:01 itojun Exp $
+# $NetBSD: Makefile,v 1.5 2000/10/06 03:17:09 dmcmahill Exp $
#
DISTNAME= vorbis_nightly_cvs-20000818
@@ -13,6 +13,11 @@ EXTRACT_SUFX= .tgz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.vorbis.com/
+.if !exists(/usr/include/getopt.h)
+DEPENDS+= libgetopt-1.1:../../devel/libgetopt
+LDFLAGS+= -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -lgetopt
+.endif
+
WRKSRC= ${WRKDIR}/vorbis
GNU_CONFIGURE= YES
CFLAGS+= -I${LOCALBASE}/include