diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2004-04-13 00:17:26 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2004-04-13 00:17:26 +0000 |
commit | e3217c6859560053b961ee020f2cff58e7cf94d4 (patch) | |
tree | 9105db5335e900456ad58a33a8604aee2c644482 /lang | |
parent | a2c264c6890f644439f9fea613284227b6912e31 (diff) | |
download | ports-e3217c6859560053b961ee020f2cff58e7cf94d4.tar.gz ports-e3217c6859560053b961ee020f2cff58e7cf94d4.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/p2c/Makefile | 2 | ||||
-rw-r--r-- | lang/p2c/files/patch-cc | 46 |
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) |