From 12e276a6ac1464a195197adb820663f8e3c71419 Mon Sep 17 00:00:00 2001 From: marino Date: Tue, 16 Sep 2014 10:46:16 +0000 Subject: 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. --- x11-wm/afterstep-stable/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'x11-wm/afterstep-stable/Makefile') 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 -- cgit