aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-04-19 20:37:13 +0800
committerlioux <lioux@FreeBSD.org>2003-04-19 20:37:13 +0800
commit17c21ac282102b57d5a5dffd154d21fe5ba2561c (patch)
tree37068a70622a0a8e9ad1ed3acafb28194b6a0c49 /multimedia
parent3987dd0f9d41f4ae80f97b097871feee62683130 (diff)
downloadfreebsd-ports-gnome-17c21ac282102b57d5a5dffd154d21fe5ba2561c.tar.gz
freebsd-ports-gnome-17c21ac282102b57d5a5dffd154d21fe5ba2561c.tar.zst
freebsd-ports-gnome-17c21ac282102b57d5a5dffd154d21fe5ba2561c.zip
Improve libgnugetopt handling: use OSVERSION variable to handle
-CURRENT which has getopt_long in libc
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mjpegtools/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile
index e9a111a4365b..72c373bfa60e 100644
--- a/multimedia/mjpegtools/Makefile
+++ b/multimedia/mjpegtools/Makefile
@@ -65,11 +65,8 @@ PLIST_SUB+= DIVX=''
WITH_LIBDV= yes
.endif
# LIBGNUGETOPT
-# If this is found in the system, the port tries to use it
-# Furthermore, we will only do this if gnugetopt is installed so
-# that we don't break -CURRENT since libgnugetopt is a problem for
-# -CURRENT right now
-.if exists(${LOCALBASE}/lib/libgnugetopt.so)
+# -CURRENT after 500041 has getopt_long
+.if ${OSVERSION} < 500041
WITH_LIBGNUGETOPT= yes
.endif
# LIBMOVTAR