aboutsummaryrefslogtreecommitdiffstats
path: root/audio/speex
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-03-19 11:06:50 +0800
committernork <nork@FreeBSD.org>2003-03-19 11:06:50 +0800
commit38b96a03fb74a45bdfefff3f5da53a717a8078d2 (patch)
treed800258d282a6fdaf9bb6af532828e756fc0fdb5 /audio/speex
parentfc3308cda2632262294c3b33d506b9bba32614a2 (diff)
downloadfreebsd-ports-gnome-38b96a03fb74a45bdfefff3f5da53a717a8078d2.tar.gz
freebsd-ports-gnome-38b96a03fb74a45bdfefff3f5da53a717a8078d2.tar.zst
freebsd-ports-gnome-38b96a03fb74a45bdfefff3f5da53a717a8078d2.zip
Fix dependency on devel/libgnugetopt.
Pointed out by: kris Approved by: kris (portmgr)
Diffstat (limited to 'audio/speex')
-rw-r--r--audio/speex/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/speex/Makefile b/audio/speex/Makefile
index b2f28b9404f1..4bd355ffca1d 100644
--- a/audio/speex/Makefile
+++ b/audio/speex/Makefile
@@ -30,7 +30,9 @@ MAN1= speexdec.1 speexenc.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
-.if !exists(/usr/include/getopt.h)
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500041
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
LDFLAGS+= -lgnugetopt
.endif
@@ -40,4 +42,4 @@ post-patch:
's|doc win32|win32|g ; \
s|^mandir =.*$$|mandir = @mandir@|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>