mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
Improve libgnugetopt handling: use OSVERSION variable to handle
-CURRENT which has getopt_long in libc
This commit is contained in:
parent
a818e9a307
commit
286b4069ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79276
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user