Fixing gcc 3.3 compile failures -- patch for graphics/gsculpt

Simon Barner barner at in.tum.de
Tue Jul 22 05:30:38 PDT 2003


patch-Makefile is in order to make the port respect the CC and CXX
variables.

gsculpt-gcc33-patches.tar.gz contains a whole bunch of patches, mostly
'using std::foo' stuff.

Cheers,
 Simon
-------------- next part --------------
--- Makefile.orig	Mon Jul 21 19:59:12 2003
+++ Makefile	Mon Jul 21 19:59:38 2003
@@ -27,7 +27,6 @@
 
 # C
 
-CC     := gcc
 CFLAGS  = ${DEPENDFLAGS}
 
 %.o : %.c
@@ -35,7 +34,6 @@
 
 # C++
 
-CXX      := g++
 CXXFLAGS  = ${DEPENDFLAGS}
 
 %.o : %.cc
@@ -57,7 +55,7 @@
 
 # linker
 
-LINKER    := g++
+LINKER    := ${CXX}
 LDFLAGS    = 
 LOADLIBES := -O3 -lm `gtk-config --libs`
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030722/7258e47c/attachment.bin


More information about the freebsd-current mailing list