aboutsummaryrefslogtreecommitdiff
path: root/devel/byaccj
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
parent913a43d5b5e95d7a1dd57e75be0749fe2c803652 (diff)
downloadports-a897eb38171b289fbfa2585fca6a74fee23dc7fe.tar.gz
ports-a897eb38171b289fbfa2585fca6a74fee23dc7fe.zip
Notes
Diffstat (limited to 'devel/byaccj')
-rw-r--r--devel/byaccj/Makefile4
-rw-r--r--devel/byaccj/distinfo6
-rw-r--r--devel/byaccj/files/patch-Makefile24
-rw-r--r--devel/byaccj/files/patch-src-Makefile13
4 files changed, 29 insertions, 18 deletions
diff --git a/devel/byaccj/Makefile b/devel/byaccj/Makefile
index 7bc76bd136dd..31f442d873d8 100644
--- a/devel/byaccj/Makefile
+++ b/devel/byaccj/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= byaccj
-PORTVERSION= 1.14
+PORTVERSION= 1.15
CATEGORIES= devel java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}${PORTVERSION}_src
@@ -15,7 +15,7 @@ MAINTAINER= pauls@utdallas.edu
COMMENT= A java extension of BSD YACC-compatible parser generator
PLIST_FILES= bin/byaccj
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
+WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/src
post-patch:
@${REINPLACE_CMD} -e 's#<malloc.h>#<stdlib.h>#' ${WRKSRC}/defs.h ${WRKSRC}/*c
diff --git a/devel/byaccj/distinfo b/devel/byaccj/distinfo
index a1fd4e2e3317..5c9ed6485953 100644
--- a/devel/byaccj/distinfo
+++ b/devel/byaccj/distinfo
@@ -1,3 +1,3 @@
-MD5 (byaccj1.14_src.tar.gz) = 23c7d0526a3794f06635f3ef3845a045
-SHA256 (byaccj1.14_src.tar.gz) = 2d257c2a4afb01aac1c08ba22c27f36bc4b39819d8b38e31cb7f44c25bdc23ba
-SIZE (byaccj1.14_src.tar.gz) = 55123
+MD5 (byaccj1.15_src.tar.gz) = 5ee9959af35f245ac2c4355f85fdf351
+SHA256 (byaccj1.15_src.tar.gz) = 4d6ba21fa5bc4ec4b1be9eb6e6efbb367eb6df2577fd0eaff60be9c6614f6609
+SIZE (byaccj1.15_src.tar.gz) = 53646
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:
diff --git a/devel/byaccj/files/patch-src-Makefile b/devel/byaccj/files/patch-src-Makefile
deleted file mode 100644
index 3eb75818dc82..000000000000
--- a/devel/byaccj/files/patch-src-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig Sun Jun 30 06:02:58 2002
-+++ Makefile Sun Jun 30 06:03:43 2002
-@@ -4,8 +4,8 @@
- ## Author: Bob Jamison
- #################################################
-
--CC = gcc
--CFLAGS = -O
-+CC ?= gcc
-+CFLAGS ?= -O
- LDFLAGS = -static
- TAR = /bin/tar
- GZIP = /usr/sbin/gzip