Revision
149032
Author
jmr@macports.org
Date
2016-05-25 11:55:11 -0700 (Wed, 25 May 2016)

Log Message

rancid: don't hardcode CFLAGS in Makefile, fixes universal build (#28923)

Modified Paths

Added Paths

Diff

Modified: trunk/dports/net/rancid/Portfile (149031 => 149032)


--- trunk/dports/net/rancid/Portfile	2016-05-25 17:14:20 UTC (rev 149031)
+++ trunk/dports/net/rancid/Portfile	2016-05-25 18:55:11 UTC (rev 149032)
@@ -28,7 +28,8 @@
                     port:p${perl5.major}-lockfile-simple \
                     path:lib/libssl.dylib:openssl
 
-patchfiles          patch-etc-Makefile.am.diff
+patchfiles          patch-etc-Makefile.am.diff \
+                    bin-Makefile.in.diff
 
 post-patch {
 # Set path for lg.conf.sample so Looking Glass will work

Added: trunk/dports/net/rancid/files/bin-Makefile.in.diff (0 => 149032)


--- trunk/dports/net/rancid/files/bin-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/net/rancid/files/bin-Makefile.in.diff	2016-05-25 18:55:11 UTC (rev 149032)
@@ -0,0 +1,11 @@
+--- bin/Makefile.in.orig	2016-02-16 23:32:04.000000000 +1100
++++ bin/Makefile.in	2016-05-26 04:47:29.000000000 +1000
+@@ -238,7 +238,7 @@
+ #INCLUDES += -I$(top_srcdir)/include
+ 
+ #CFLAGS += -g
+-CFLAGS = -g -O0
++CFLAGS = @CFLAGS@
+ COMM = @COMM@
+ COPYYEARS = @COPYYEARS@
+ CPP = @CPP@