aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-04-24 14:01:25 +0800
committerlioux <lioux@FreeBSD.org>2003-04-24 14:01:25 +0800
commita9314b9068b2d6e553c3df7c0c7e401b6f9c90c4 (patch)
tree7aafc1ff89385aebe799c204e73c4fda1a0d9421 /multimedia
parent6c746148d297e3f0af266523c09f2ae524d5bb5b (diff)
downloadfreebsd-ports-gnome-a9314b9068b2d6e553c3df7c0c7e401b6f9c90c4.tar.gz
freebsd-ports-gnome-a9314b9068b2d6e553c3df7c0c7e401b6f9c90c4.tar.zst
freebsd-ports-gnome-a9314b9068b2d6e553c3df7c0c7e401b6f9c90c4.zip
Improve libgnugetopt handling: use OSVERSION variable to handle
-CURRENT which has getopt_long in libc
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpeg4ip/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile
index 3e183a17ee78..29f91b4fe19c 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||' \