diff options
| author | John Marino <marino@FreeBSD.org> | 2014-09-16 10:46:16 +0000 |
|---|---|---|
| committer | John Marino <marino@FreeBSD.org> | 2014-09-16 10:46:16 +0000 |
| commit | 3107be46598fbb20aab8f7220c00dff9cbc59792 (patch) | |
| tree | 6e49e3cde5c1f199de7a3ac9482d85eb9b825a08 | |
| parent | - Use flex and bison from ports (diff) | |
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.
| -rw-r--r-- | x11-wm/afterstep-stable/Makefile | 4 |
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 |
