[85589] trunk/dports/devel/byaccj
mww at macports.org
mww at macports.org
Fri Oct 14 15:10:40 PDT 2011
Revision: 85589
http://trac.macports.org/changeset/85589
Author: mww at macports.org
Date: 2011-10-14 15:10:37 -0700 (Fri, 14 Oct 2011)
Log Message:
-----------
byaccj: fix build on intel macs; incr. revision; add license
Modified Paths:
--------------
trunk/dports/devel/byaccj/Portfile
Added Paths:
-----------
trunk/dports/devel/byaccj/files/
trunk/dports/devel/byaccj/files/patch-src-Makefile.diff
Modified: trunk/dports/devel/byaccj/Portfile
===================================================================
--- trunk/dports/devel/byaccj/Portfile 2011-10-14 22:00:15 UTC (rev 85588)
+++ trunk/dports/devel/byaccj/Portfile 2011-10-14 22:10:37 UTC (rev 85589)
@@ -4,9 +4,11 @@
name byaccj
version 1.15
+revision 1
categories devel java
platforms darwin
maintainers mww
+license public-domain
description yacc compatible parser generator with Java extension
long_description byacc/j is an extension to the Berkeley v1.8 yacc \
compatible parser generator. byacc/j not only can produce \
@@ -16,10 +18,12 @@
master_sites sourceforge
distname byaccj${version}_src
checksums sha1 eeabe2a3a3ca9cc56a777fa54238ab093fc525c7
+patchfiles patch-src-Makefile.diff
use_configure no
worksrcdir byaccj${version}/src
+build.args CFLAGS="${configure.cflags}" CC="${configure.cc}" LDFLAGS="${configure.ldflags}"
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/
Added: trunk/dports/devel/byaccj/files/patch-src-Makefile.diff
===================================================================
--- trunk/dports/devel/byaccj/files/patch-src-Makefile.diff (rev 0)
+++ trunk/dports/devel/byaccj/files/patch-src-Makefile.diff 2011-10-14 22:10:37 UTC (rev 85589)
@@ -0,0 +1,21 @@
+--- Makefile 2008-11-24 09:41:02.000000000 +0100
++++ Makefile 2011-10-15 00:07:27.000000000 +0200
+@@ -4,9 +4,6 @@
+ ## Author: Bob Jamison
+ #################################################
+
+-CC = gcc
+-CFLAGS = -O -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4
+-LDFLAGS = -static -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk
+ TAR = tar
+ GZIP = gzip
+ VERS = byaccj1.15
+@@ -75,7 +72,7 @@
+ $(CC) -c $(CFLAGS) $(INC) $< -o $@
+
+ yacc: $(OBJ)
+- $(CC) -o yacc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 $(OBJ)
++ $(CC) -o yacc $(OBJ)
+ @echo "done"
+
+ clean:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111014/65e55c3c/attachment.html>
More information about the macports-changes
mailing list