diff options
author | theraven <theraven@FreeBSD.org> | 2013-08-29 21:03:20 +0800 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2013-08-29 21:03:20 +0800 |
commit | c2e67d2cd663fb204ad41d916832d0968875aa0c (patch) | |
tree | 3c135c200c449a3e7ff23982219c8608024b5bd9 /Mk | |
parent | f95e0ef1dc158a010e625131bd14b9190b678ab7 (diff) | |
download | freebsd-ports-gnome-c2e67d2cd663fb204ad41d916832d0968875aa0c.tar.gz freebsd-ports-gnome-c2e67d2cd663fb204ad41d916832d0968875aa0c.tar.zst freebsd-ports-gnome-c2e67d2cd663fb204ad41d916832d0968875aa0c.zip |
Fix a copy-and-paste error and a reversed condition in bsd.gnustep.mk
reported by: avg
Reviewed by: koobs (twice)
Approved by: gjb
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.gnustep.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.gnustep.mk b/Mk/bsd.gnustep.mk index f3d0d0f75e7e..8a54d0b71214 100644 --- a/Mk/bsd.gnustep.mk +++ b/Mk/bsd.gnustep.mk @@ -165,7 +165,7 @@ PLIST_SUB+= MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1} 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 |