Module Name: src
Committed By: abs
Date: Sun Jul 15 00:05:51 UTC 2012
Modified Files:
src/external/bsd/atf/lib/libatf-c++: Makefile
Log Message:
Check for ${HAVE_GCC} and pick the right path to stdc++
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/bsd/atf/lib/libatf-c++/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/atf/lib/libatf-c++/Makefile
diff -u src/external/bsd/atf/lib/libatf-c++/Makefile:1.15 src/external/bsd/atf/lib/libatf-c++/Makefile:1.16
--- src/external/bsd/atf/lib/libatf-c++/Makefile:1.15 Thu Jul 12 22:15:29 2012
+++ src/external/bsd/atf/lib/libatf-c++/Makefile Sun Jul 15 00:05:51 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2012/07/12 22:15:29 christos Exp $
+# $NetBSD: Makefile,v 1.16 2012/07/15 00:05:51 abs Exp $
NOLINT= # defined
@@ -8,7 +8,11 @@ LIB= atf-c++
LIBISCXX= yes
LIBDPLIBS+= atf-c ${.CURDIR}/../libatf-c
+.if ${HAVE_GCC} == 4
+LIBDPLIBS+= stdc++ ${.CURDIR}/../../../../../gnu/lib/libstdc++-v3_4
+.else
LIBDPLIBS+= stdc++ ${.CURDIR}/../../../../../external/gpl3/gcc/lib/libstdc++-v3
+.endif
LIBDPLIBS+= m ${.CURDIR}/../../../../../lib/libm