Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 10:46:16 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368301 - head/x11-wm/afterstep-stable
Message-ID:  <201409161046.s8GAkGPa091087@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409161046.s8GAkGPa091087>