summaryrefslogtreecommitdiff
path: root/devel/byaccj/files/patch-Makefile
diff options
context:
space:
mode:
authorGreg Larkin <glarkin@FreeBSD.org>2010-07-23 14:57:23 +0000
committerGreg Larkin <glarkin@FreeBSD.org>2010-07-23 14:57:23 +0000
commita897eb38171b289fbfa2585fca6a74fee23dc7fe (patch)
treeaa06e5c937ef2d065ed646435e1f6b5589fa39c3 /devel/byaccj/files/patch-Makefile
parent- Update to 3.251 (diff)
- Updated to 1.15
PR: ports/148853 Submitted by: Paul Schmehl <pauls at utdallas dot edu> (maintainer)
Notes
Notes: svn path=/head/; revision=258102
Diffstat (limited to 'devel/byaccj/files/patch-Makefile')
-rw-r--r--devel/byaccj/files/patch-Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/byaccj/files/patch-Makefile b/devel/byaccj/files/patch-Makefile
new file mode 100644
index 000000000000..a23e1739d07a
--- /dev/null
+++ b/devel/byaccj/files/patch-Makefile
@@ -0,0 +1,24 @@
+--- ./Makefile.orig 2008-11-24 02:41:02.000000000 -0600
++++ ./Makefile 2010-07-22 17:20:57.000000000 -0500
+@@ -4,9 +4,9 @@
+ ## 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
++CC ?= gcc
++CFLAGS ?= -O
++LDFLAGS = -static
+ TAR = tar
+ GZIP = gzip
+ VERS = byaccj1.15
+@@ -75,7 +75,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: