diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-04-19 12:37:13 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-04-19 12:37:13 +0000 |
commit | 286b4069addd3c1b066233db0586a05fe847e012 (patch) | |
tree | 15a9f3ffdae8d669ac77fdbc951eaab729e4477b /multimedia/mjpegtools | |
parent | Update to 2.03a + readlink fix. (diff) |
Improve libgnugetopt handling: use OSVERSION variable to handle
-CURRENT which has getopt_long in libc
Notes
Notes:
svn path=/head/; revision=79276
Diffstat (limited to 'multimedia/mjpegtools')
-rw-r--r-- | multimedia/mjpegtools/Makefile | 7 |
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 |