[83868] trunk/dports/lang/lemon

mww at macports.org mww at macports.org
Sun Sep 11 23:23:40 PDT 2011


Revision: 83868
          http://trac.macports.org/changeset/83868
Author:   mww at macports.org
Date:     2011-09-11 23:23:37 -0700 (Sun, 11 Sep 2011)
Log Message:
-----------
fix universal build; add more checksums;

Modified Paths:
--------------
    trunk/dports/lang/lemon/Portfile
    trunk/dports/lang/lemon/files/Makefile
    trunk/dports/lang/lemon/files/configure

Modified: trunk/dports/lang/lemon/Portfile
===================================================================
--- trunk/dports/lang/lemon/Portfile	2011-09-12 06:16:52 UTC (rev 83867)
+++ trunk/dports/lang/lemon/Portfile	2011-09-12 06:23:37 UTC (rev 83868)
@@ -4,7 +4,7 @@
 
 name			lemon
 version			1.39
-revision		1
+revision		2
 categories		lang devel
 platforms		darwin
 maintainers		mww
@@ -14,7 +14,9 @@
 homepage		http://www.hwaci.com/sw/lemon/
 master_sites	http://people.FreeBSD.org/~seanc/ports/lemon/ \
 				freebsd
-checksums		sha1 0baa13c54d437b21ccf802792e4ef081e5af3348
+checksums           sha1    0baa13c54d437b21ccf802792e4ef081e5af3348 \
+                    rmd160  fe09fb8862467da6e20090bbab18d0fb1971cfbc \
+                    sha256  22ea0766611dcfa33629a9d44c275e82c9060bcfd2a2662d0ff533d428b5b5dd
 use_bzip2		yes
 post-extract {
 	xinstall -m 644 ${filespath}/Makefile ${worksrcpath}

Modified: trunk/dports/lang/lemon/files/Makefile
===================================================================
--- trunk/dports/lang/lemon/files/Makefile	2011-09-12 06:16:52 UTC (rev 83867)
+++ trunk/dports/lang/lemon/files/Makefile	2011-09-12 06:23:37 UTC (rev 83868)
@@ -1,7 +1,7 @@
 include flags
 all: lemon lemoncxx
 lemon: lemon.c
-	$(CC) $< -o $@ -DLEMPAR=\"$(PREFIX)/share/lemon/lempar.c\" -DCSUFFIX=\".c\" -DHSUFFIX=\".h\"
+	$(CC) $(CFLAGS) $< -o $@ -DLEMPAR=\"$(PREFIX)/share/lemon/lempar.c\" -DCSUFFIX=\".c\" -DHSUFFIX=\".h\"
 lemoncxx: lemon.c
-	$(CC) $< -o $@ -DLEMPAR=\"$(PREFIX)/share/lemon/lempar.cpp\" -DCSUFFIX=\".cpp\" -DHSUFFIX=\".hpp\"
+	$(CC) $(CFLAGS) $< -o $@ -DLEMPAR=\"$(PREFIX)/share/lemon/lempar.cpp\" -DCSUFFIX=\".cpp\" -DHSUFFIX=\".hpp\"
 

Modified: trunk/dports/lang/lemon/files/configure
===================================================================
--- trunk/dports/lang/lemon/files/configure	2011-09-12 06:16:52 UTC (rev 83867)
+++ trunk/dports/lang/lemon/files/configure	2011-09-12 06:23:37 UTC (rev 83868)
@@ -1,4 +1,5 @@
 #!/bin/sh
 echo "CC=${CC:-cc}" > flags
+echo "CFLAGS=${CFLAGS:--O2}" >> flags
 echo "PREFIX=${PREFIX}" >> flags
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110911/ee6228c8/attachment.html>


More information about the macports-changes mailing list