diff options
author | lioux <lioux@FreeBSD.org> | 2003-04-24 06:01:25 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-04-24 06:01:25 +0000 |
commit | a9314b9068b2d6e553c3df7c0c7e401b6f9c90c4 (patch) | |
tree | 7aafc1ff89385aebe799c204e73c4fda1a0d9421 /multimedia/mpeg4ip/Makefile | |
parent | 6c746148d297e3f0af266523c09f2ae524d5bb5b (diff) | |
download | FreeBSD-ports-a9314b9068b2d6e553c3df7c0c7e401b6f9c90c4.zip FreeBSD-ports-a9314b9068b2d6e553c3df7c0c7e401b6f9c90c4.tar.gz |
Improve libgnugetopt handling: use OSVERSION variable to handle
-CURRENT which has getopt_long in libc
Diffstat (limited to 'multimedia/mpeg4ip/Makefile')
-rw-r--r-- | multimedia/mpeg4ip/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile index 3e183a1..29f91b4 100644 --- a/multimedia/mpeg4ip/Makefile +++ b/multimedia/mpeg4ip/Makefile @@ -108,10 +108,13 @@ post-patch: @${REINPLACE_CMD} -E -e \ 's!SDL_(AudioDelayMsec|HasAudioDelayMsec).*;$$!0;!' \ ${WRKSRC}/player/src/audio_sdl.cpp +# -CURRENT after 500041 has getopt_long # use libgnugetopt +.if ${OSVERSION} < 500041 @${REINPLACE_CMD} -E -e \ s'|(-lm)|\1 -lgnugetopt|' \ ${WRKSRC}/util/iptv/Makefile.in +.endif # do not install manm man pages @${REINPLACE_CMD} -E \ -e 's|api.mpt||' \ |