svn commit: r368301 - head/x11-wm/afterstep-stable
John Marino
marino at FreeBSD.org
Tue Sep 16 10:46:16 UTC 2014
Author: marino
Date: Tue Sep 16 10:46:16 2014
New Revision: 368301
URL: http://svnweb.freebsd.org/changeset/ports/368301
QAT: https://qat.redports.org/buildarchive/r368301/
Log:
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.
Modified:
head/x11-wm/afterstep-stable/Makefile
Modified: head/x11-wm/afterstep-stable/Makefile
==============================================================================
--- head/x11-wm/afterstep-stable/Makefile Tue Sep 16 10:19:40 2014 (r368300)
+++ head/x11-wm/afterstep-stable/Makefile Tue Sep 16 10:46:16 2014 (r368301)
@@ -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
More information about the svn-ports-all
mailing list