aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-09-16 18:46:16 +0800
committermarino <marino@FreeBSD.org>2014-09-16 18:46:16 +0800
commit12e276a6ac1464a195197adb820663f8e3c71419 (patch)
tree6e49e3cde5c1f199de7a3ac9482d85eb9b825a08 /x11-wm
parentf746e76b22a72cc41c639d74ba155344dbadb5ee (diff)
downloadfreebsd-ports-gnome-12e276a6ac1464a195197adb820663f8e3c71419.tar.gz
freebsd-ports-gnome-12e276a6ac1464a195197adb820663f8e3c71419.tar.zst
freebsd-ports-gnome-12e276a6ac1464a195197adb820663f8e3c71419.zip
x11-wm/afterstep-stable: Use execinfo test instead of OSVERSION check
STATIC_LIBEXECINFO value has to track the inclusion of devel/libexecinfo so use the same test as USES+=execinfo uses and avoid using the discouraged (and wrong for DragonFly) OSVERSION check. This is really a follow-up to a previous commit that added USES+=execinfo.
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/afterstep-stable/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/x11-wm/afterstep-stable/Makefile b/x11-wm/afterstep-stable/Makefile
index 4affdcf75e45..dde5445591f6 100644
--- a/x11-wm/afterstep-stable/Makefile
+++ b/x11-wm/afterstep-stable/Makefile
@@ -57,9 +57,7 @@ PLIST_SUB+= GNOME=""
PLIST_SUB+= GNOME="@comment "
.endif
-.if ${OSVERSION} >= 1000000
-STATIC_LIBEXECINFO=
-.else
+.if !exists(/usr/lib/libexecinfo.so)
STATIC_LIBEXECINFO= ${LOCALBASE}/lib/libexecinfo.a
.endif