summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-10-06 03:17:09 +0000
committerdmcmahill <dmcmahill>2000-10-06 03:17:09 +0000
commit223b07e53238c87da9c2de6fef420096d468afa9 (patch)
treee6dcdf80259e6357d6a54395213ec0cd56a2bb2a /audio
parentea1457de733685bd78a28a463d039057ef037972 (diff)
downloadpkgsrc-223b07e53238c87da9c2de6fef420096d468afa9.tar.gz
make this work on 1.4.x systems which don't include getopt_long
Diffstat (limited to 'audio')
-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