Skip to content
Permalink
Browse files

arc: make sure we're UsingTheRightCompiler; see https://trac.macports…

….org/ticket/20073 (maintainer timeout)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@68754 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Jun 12, 2010
1 parent 0cce069 commit 3abbac207d36de9ca9f17062d15363b9061171ef
Showing with 5 additions and 13 deletions.
  1. +2 −1 archivers/arc/Portfile
  2. +3 −12 archivers/arc/files/patch-Makefile
@@ -27,7 +27,8 @@ if {[variant_isset universal]} {
set CFLAGS "${CFLAGS} ${configure.universal_cflags}"
}

build.args "OPT=\"${CFLAGS}\""
build.args CC=${configure.cc} \
OPT="${CFLAGS}"

destroot {
xinstall -W ${worksrcpath} ${name} m${name} ${destroot}${prefix}/bin
@@ -1,6 +1,6 @@
--- Makefile.orig 2007-08-29 18:30:18.000000000 +0200
+++ Makefile 2007-08-29 18:31:01.000000000 +0200
@@ -35,17 +35,16 @@
--- Makefile.orig 2005-10-08 20:30:24.000000000 -0500
+++ Makefile 2010-06-12 12:03:36.000000000 -0500
@@ -35,10 +35,9 @@
# On Solaris, use -DSYSV=1 -DNEED_ALPHASORT and set SYSVOBJ=scandir.o
# (See the Sysvarcstuf shar file)
#SYSTEM = -DGEMDOS=1 -fstrength-reduce -fomit-frame-pointer -finline-functions -fdefer-pop -mpcrel
@@ -13,12 +13,3 @@
# For MWC 3.0 on the Atari ST, use:
#CFLAGS = -VCOMPAC -VPEEP
CFLAGS = $(OPT) $(SYSTEM)

# GNU's gcc is very nice, if you've got it. Otherwise just cc.
-#CC = cgcc -mshort -mbaserel
-CC = cc
+CC = gcc
+#CC = cc

# tmclock is only needed on Unix systems...
TMCLOCK = tmclock.o

0 comments on commit 3abbac2

Please sign in to comment.
You can’t perform that action at this time.