patch CLD -> CXXLD for linking against cpp, fixes build failure

patch from post by Juan RP <juan@xtraeme.unixbsd.org>
on tech-pkg@ http://mail-index.NetBSD.org/tech-pkg/2004/02/07/0006.html
This commit is contained in:
rtr 2004-02-07 13:57:32 +00:00
parent ba118e8526
commit b148780b7b
2 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.18 2004/02/04 13:35:51 markd Exp $
$NetBSD: distinfo,v 1.19 2004/02/07 13:57:32 rtr Exp $
SHA1 (arts-1.2.0.tar.bz2) = 90fdc6d9dc7cb3e55a60e4dc557a548d8f590a55
Size (arts-1.2.0.tar.bz2) = 993338 bytes
@ -7,3 +7,4 @@ SHA1 (patch-ac) = de22843493a184f4aa8c20e011aa2a73ad794728
SHA1 (patch-af) = 9a130ccd7f56656bb55e2c5edf223c38c69be591
SHA1 (patch-ag) = 30177e80960a2877fb69cb5ffaadc4aa0d0783fc
SHA1 (patch-ah) = a16f6b51896396d4cd02eab810d1568e946d4ef7
SHA1 (patch-ai) = f59ea9245cd212f1b7f427175d018a08b07b7106

View file

@ -0,0 +1,11 @@
--- flow/gsl/Makefile.in.orig 2004-01-26 18:20:17.000000000 +1100
+++ flow/gsl/Makefile.in 2004-02-08 00:43:18.000000000 +1100
@@ -446,7 +446,7 @@
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+LINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)