[114176] trunk/dports/editors/ee
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 30 19:09:21 PST 2013
Revision: 114176
https://trac.macports.org/changeset/114176
Author: ryandesign at macports.org
Date: 2013-11-30 19:09:21 -0800 (Sat, 30 Nov 2013)
Log Message:
-----------
ee: ensure we're UsingTheRightCompiler and -arch flags; add universal variant
Modified Paths:
--------------
trunk/dports/editors/ee/Portfile
Added Paths:
-----------
trunk/dports/editors/ee/files/
trunk/dports/editors/ee/files/patch-create.make.diff
Modified: trunk/dports/editors/ee/Portfile
===================================================================
--- trunk/dports/editors/ee/Portfile 2013-12-01 03:01:11 UTC (rev 114175)
+++ trunk/dports/editors/ee/Portfile 2013-12-01 03:09:21 UTC (rev 114176)
@@ -27,10 +27,16 @@
worksrcdir easyedit-${version}
+patchfiles patch-create.make.diff
+
use_configure no
+variant universal {}
+
use_parallel_build no
+build.args CC="${configure.cc} [get_canonical_archflags cc]"
+
destroot {
xinstall -m 555 ${worksrcpath}/ee ${destroot}${prefix}/bin
xinstall -m 444 ${worksrcpath}/ee.1 ${destroot}${prefix}/share/man/man1
Added: trunk/dports/editors/ee/files/patch-create.make.diff
===================================================================
--- trunk/dports/editors/ee/files/patch-create.make.diff (rev 0)
+++ trunk/dports/editors/ee/files/patch-create.make.diff 2013-12-01 03:09:21 UTC (rev 114176)
@@ -0,0 +1,23 @@
+--- create.make.orig 2002-09-22 23:18:30.000000000 -0500
++++ create.make 2013-11-30 21:07:27.000000000 -0600
+@@ -267,16 +267,16 @@
+ cat >> make.local << EOF
+
+ curses : ee.c
+- cc ee.c -o ee \$(CFLAGS) -lcurses
++ \$(CC) ee.c -o ee \$(CFLAGS) -lcurses
+
+ ee : ee.o new_curse.o
+- cc -o ee ee.o new_curse.o \$(CFLAGS)
++ \$(CC) -o ee ee.o new_curse.o \$(CFLAGS)
+
+ ee.o : ee.c new_curse.h
+- cc -c ee.c \$(DEFINES) \$(CFLAGS)
++ \$(CC) -c ee.c \$(DEFINES) \$(CFLAGS)
+
+ new_curse.o : new_curse.c new_curse.h
+- cc new_curse.c -c \$(DEFINES) \$(CFLAGS)
++ \$(CC) new_curse.c -c \$(DEFINES) \$(CFLAGS)
+
+ EOF
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131130/23c1c92c/attachment.html>
More information about the macports-changes
mailing list