svn commit: r325593 - head/Mk

David Chisnall theraven at FreeBSD.org
Thu Aug 29 13:03:21 UTC 2013


Author: theraven (src committer)
Date: Thu Aug 29 13:03:20 2013
New Revision: 325593
URL: http://svnweb.freebsd.org/changeset/ports/325593

Log:
  Fix a copy-and-paste error and a reversed condition in bsd.gnustep.mk
  
  reported by:	avg
  Reviewed by:	koobs (twice)
  Approved by:	gjb

Modified:
  head/Mk/bsd.gnustep.mk

Modified: head/Mk/bsd.gnustep.mk
==============================================================================
--- head/Mk/bsd.gnustep.mk	Thu Aug 29 13:02:01 2013	(r325592)
+++ head/Mk/bsd.gnustep.mk	Thu Aug 29 13:03:20 2013	(r325593)
@@ -165,7 +165,7 @@ PLIST_SUB+=	MAJORVERSION=${PORTVERSION:C
 PLIST_SUB+=	LIBVERSION=${DEFAULT_LIBVERSION}
 PLIST_SUB+=	MAJORLIBVERSION=${DEFAULT_LIBVERSION:C/([0-9]).*/\1/1}
 
-.if !exists(${DESTDIR}/usr/bin/clang)
+.if exists(${DESTDIR}/usr/bin/clang)
 _CLANG!=	${DESTDIR}/usr/bin/clang --version | head -1 | \
 		${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' 
 .else
@@ -178,7 +178,7 @@ CPP=	${LOCALBASE}/bin/clang-cpp33
 CC=	${LOCALBASE}/bin/clang33
 CXX=	${LOCALBASE}/bin/clang++33
 .else
-CPP=	/usr/bin/clang-cpp33
+CPP=	/usr/bin/clang-cpp
 CC=	/usr/bin/clang
 CXX=	/usr/bin/clang++
 .endif


More information about the svn-ports-head mailing list