[30801] trunk/dports/net/junkbuster

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 7 01:46:14 PST 2007


Revision: 30801
          http://trac.macosforge.org/projects/macports/changeset/30801
Author:   ryandesign at macports.org
Date:     2007-11-07 01:46:12 -0800 (Wed, 07 Nov 2007)

Log Message:
-----------
junkbuster: make it always use gcc 3.3, since the build fails when using gcc 4, and add a note for Intel Mac users explaining why it won't work for them

Modified Paths:
--------------
    trunk/dports/net/junkbuster/Portfile
    trunk/dports/net/junkbuster/files/patch-Makefile

Modified: trunk/dports/net/junkbuster/Portfile
===================================================================
--- trunk/dports/net/junkbuster/Portfile	2007-11-07 09:41:19 UTC (rev 30800)
+++ trunk/dports/net/junkbuster/Portfile	2007-11-07 09:46:12 UTC (rev 30801)
@@ -110,3 +110,17 @@
 		}
 	}
 }
+
+platform darwin 8 {
+	configure.compiler gcc-3.3
+}
+
+platform darwin 9 {
+	configure.compiler gcc-3.3
+}
+
+platform darwin i386 {
+	pre-fetch {
+		return -code error "Sorry, ${name} cannot be built on Intel Macs because it requires GCC 3.3. Please ask the author of this software to update it for GCC 4 compatibility."
+	}
+}

Modified: trunk/dports/net/junkbuster/files/patch-Makefile
===================================================================
--- trunk/dports/net/junkbuster/files/patch-Makefile	2007-11-07 09:41:19 UTC (rev 30800)
+++ trunk/dports/net/junkbuster/files/patch-Makefile	2007-11-07 09:46:12 UTC (rev 30801)
@@ -26,7 +26,7 @@
  LDFLAGS = -lz
  
 +# use this for DarwinPorts
-+CC           = gcc
++CC           = /usr/bin/gcc-3.3
 +MORE_CFLAGS += -I$(PREFIX)/include
 +ifeq ($(shell uname -s),Darwin)
 +LDFLAGS     += -multiply_defined suppress

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071107/1f12214c/attachment-0001.html


More information about the macports-changes mailing list