summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-04-24 06:01:25 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-04-24 06:01:25 +0000
commitee7ec4d7118877d4768cc0eead5113bc81811f27 (patch)
tree7101ba7cde329aa083c84c703d1b43451203500b /multimedia
parent. Be consistent with other JDK ports and silence execution of the (diff)
Improve libgnugetopt handling: use OSVERSION variable to handle
-CURRENT which has getopt_long in libc
Notes
Notes: svn path=/head/; revision=79567
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||' \