summaryrefslogtreecommitdiff
path: root/lang/p2c
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2004-04-13 00:17:26 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2004-04-13 00:17:26 +0000
commite3217c6859560053b961ee020f2cff58e7cf94d4 (patch)
tree9105db5335e900456ad58a33a8604aee2c644482 /lang/p2c
parentremove ${CP} ${FILESDIR}/Makefile ${WRKDIR} in Makefile. (diff)
Install the source instead of the cat-file in ${PREFIX}/man/man1
PR: 65456
Notes
Notes: svn path=/head/; revision=106851
Diffstat (limited to 'lang/p2c')
-rw-r--r--lang/p2c/Makefile2
-rw-r--r--lang/p2c/files/patch-cc46
2 files changed, 25 insertions, 23 deletions
diff --git a/lang/p2c/Makefile b/lang/p2c/Makefile
index 1014d72d850c..8b12ebb89b7f 100644
--- a/lang/p2c/Makefile
+++ b/lang/p2c/Makefile
@@ -7,7 +7,7 @@
PORTNAME= p2c
PORTVERSION= 1.21a
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.clara.net/pub/mirrors/gnu/hurd/ \
ftp://ftp.u-aizu.ac.jp/pub/lang/netsw/Pascal/ \
diff --git a/lang/p2c/files/patch-cc b/lang/p2c/files/patch-cc
index dd25bbcbf853..557633fab0ed 100644
--- a/lang/p2c/files/patch-cc
+++ b/lang/p2c/files/patch-cc
@@ -1,22 +1,24 @@
-*** src/Makefile.orig Wed Dec 15 14:55:32 1999
---- src/Makefile Wed Dec 15 14:56:48 1999
-***************
-*** 37,44 ****
- #MANFILE = p2c.man.inst
-
- # Compiler options
-! CC = cc # you may wish to use gcc here instead
-! OPT = # -O # uncomment this for optimization
- DEB = # -g # uncomment this for debugging
- DEFS = # place other -D types of things here
- CFLAGS = $(OPT) $(DEB) $(DEFS)
---- 37,44 ----
- #MANFILE = p2c.man.inst
-
- # Compiler options
-! CC ?= cc # you may wish to use gcc here instead
-! OPT = $(CFLAGS) # uncomment this for optimization
- DEB = # -g # uncomment this for debugging
- DEFS = # place other -D types of things here
- CFLAGS = $(OPT) $(DEB) $(DEFS)
-
+--- src/Makefile.orig Wed Dec 8 06:36:48 1993
++++ src/Makefile Tue Apr 13 02:12:49 2004
+@@ -24,8 +24,8 @@
+ BINDIR = ..
+ LIBDIR = ../home
+ MANDIR = ../home
+-MANFILE = p2c.cat # human-readable manual (for cat.1)
+-#MANFILE = p2c.man.inst # uncompressed nroff source (for man.1)
++#MANFILE = p2c.cat # human-readable manual (for cat.1)
++MANFILE = p2c.man.inst # uncompressed nroff source (for man.1)
+ #MANFILE = p2c.man.Z # compressed nroff source (for man.1.Z)
+
+ # Directories (public version)
+@@ -37,8 +37,8 @@
+ #MANFILE = p2c.man.inst
+
+ # Compiler options
+-CC = cc # you may wish to use gcc here instead
+-OPT = # -O # uncomment this for optimization
++CC ?= cc # you may wish to use gcc here instead
++OPT = $(CFLAGS) # uncomment this for optimization
+ DEB = # -g # uncomment this for debugging
+ DEFS = # place other -D types of things here
+ CFLAGS = $(OPT) $(DEB) $(DEFS)