diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-03-19 03:06:50 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-03-19 03:06:50 +0000 |
commit | 0aba7ebcbe83916a72e41ca73c8e4d87a0114b59 (patch) | |
tree | 8dab5d6cbe7999f7f75ea1b611346aad71dbcff4 /audio | |
parent | Add a patch to fix xkb initialization. (diff) |
Fix dependency on devel/libgnugetopt.
Pointed out by: kris
Approved by: kris (portmgr)
Notes
Notes:
svn path=/head/; revision=77154
Diffstat (limited to 'audio')
-rw-r--r-- | audio/speex-devel/Makefile | 6 | ||||
-rw-r--r-- | audio/speex/Makefile | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/audio/speex-devel/Makefile b/audio/speex-devel/Makefile index b2f28b9404f1..4bd355ffca1d 100644 --- a/audio/speex-devel/Makefile +++ b/audio/speex-devel/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> 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> |