summaryrefslogtreecommitdiff
path: root/devel/SDL
diff options
context:
space:
mode:
authorminskim <minskim>2006-04-11 22:11:31 +0000
committerminskim <minskim>2006-04-11 22:11:31 +0000
commit82a192f40aadd78112f97dc386010f8da128cf81 (patch)
treed58e017657a50a147907079847f164eaf7b50118 /devel/SDL
parent166114849e705436d64fd5d7c82c7585b5de7f8d (diff)
downloadpkgsrc-82a192f40aadd78112f97dc386010f8da128cf81.tar.gz
On Darwin, use g++ to link instead of gcc since some C++ code is compiled.
Diffstat (limited to 'devel/SDL')
-rw-r--r--devel/SDL/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/SDL/Makefile.common b/devel/SDL/Makefile.common
index ad33626a46a..90f9f957993 100644
--- a/devel/SDL/Makefile.common
+++ b/devel/SDL/Makefile.common
@@ -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 @@ COCOA_DIRS+= /System /Library /Developer
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"