pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/SDL On Darwin, use g++ to link instead of gcc si...
details: https://anonhg.NetBSD.org/pkgsrc/rev/345b3bcf283b
branches: trunk
changeset: 511223:345b3bcf283b
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue Apr 11 22:11:31 2006 +0000
description:
On Darwin, use g++ to link instead of gcc since some C++ code is compiled.
diffstat:
devel/SDL/Makefile.common | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 491568831e71 -r 345b3bcf283b devel/SDL/Makefile.common
--- a/devel/SDL/Makefile.common Tue Apr 11 21:43:20 2006 +0000
+++ b/devel/SDL/Makefile.common Tue Apr 11 22:11:31 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.28 2006/03/09 21:04:42 jlam Exp $
+# $NetBSD: Makefile.common,v 1.29 2006/04/11 22:11:31 minskim Exp $
DISTNAME= SDL-1.2.9
CATEGORIES= devel games
@@ -50,6 +50,12 @@
BUILDLINK_PASSTHRU_DIRS+= ${dir}
. endif
. endfor
+
+SUBST_CLASSES+= links
+SUBST_MESSAGE.links= Fixing linking command.
+SUBST_STAGE.links= pre-configure
+SUBST_FILES.links= src/Makefile.in
+SUBST_SED.links= -e 's,tag=CC --mode=link,tag=CXX --mode=link,g'
.endif
.include "../../mk/oss.buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index