From 286b4069addd3c1b066233db0586a05fe847e012 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sat, 19 Apr 2003 12:37:13 +0000 Subject: Improve libgnugetopt handling: use OSVERSION variable to handle -CURRENT which has getopt_long in libc --- multimedia/mjpegtools/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'multimedia/mjpegtools') 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 -- cgit v1.2.3