From eae80094d345af0b2857ef36d8f4f1014b07952f Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Sat, 22 Dec 2001 13:18:23 +0000 Subject: Update to version 2.1 PR: 32980 Submitted by: MAINTAINER --- textproc/gpp/Makefile | 8 +++----- textproc/gpp/distinfo | 2 +- textproc/gpp/files/patch-Makefile | 11 ----------- textproc/gpp/files/patch-gpp.c | 10 ---------- 4 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 textproc/gpp/files/patch-Makefile delete mode 100644 textproc/gpp/files/patch-gpp.c (limited to 'textproc/gpp') diff --git a/textproc/gpp/Makefile b/textproc/gpp/Makefile index 4e8df31f3177..7f10cb056ddd 100644 --- a/textproc/gpp/Makefile +++ b/textproc/gpp/Makefile @@ -6,19 +6,17 @@ # PORTNAME= gpp -PORTVERSION= 2.0 +PORTVERSION= 2.1 CATEGORIES= textproc MASTER_SITES= http://www.math.polytechnique.fr/cmat/auroux/prog/ -DISTNAME= ${PORTNAME} MAINTAINER= josb@cncdsl.com -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - MAN1= gpp.1 post-patch: - ${PERL} -pi -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/Makefile + ${PERL} -pi -e "s|/usr/local|${PREFIX}|g; \ + s|gcc -O2 -Wall|${CC} ${CFLAGS}|g" ${WRKSRC}/Makefile post-install: .if !defined(NOPORTDOCS) diff --git a/textproc/gpp/distinfo b/textproc/gpp/distinfo index 63086d04ddd8..2daedf0d4025 100644 --- a/textproc/gpp/distinfo +++ b/textproc/gpp/distinfo @@ -1 +1 @@ -MD5 (gpp.tar.gz) = 84886479ecb78eac5f5fcfa06aa00a94 +MD5 (gpp-2.1.tar.gz) = d1bcdcaa2ccf1a1c1a4dfeb7cf49f2b5 diff --git a/textproc/gpp/files/patch-Makefile b/textproc/gpp/files/patch-Makefile deleted file mode 100644 index 294e45ed4f01..000000000000 --- a/textproc/gpp/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig Thu Sep 6 12:54:40 2001 -+++ Makefile Thu Sep 6 12:55:01 2001 -@@ -4,7 +4,7 @@ - all: gpp gpp.1 gpp.html - - gpp: gpp.c -- gcc -O2 -Wall gpp.c -o gpp -+ gcc $(CFLAGS) gpp.c -o gpp - - gpp.1: gpp gpphelp.pp - ./gpp -H -Dman gpphelp.pp -o gpp.1 diff --git a/textproc/gpp/files/patch-gpp.c b/textproc/gpp/files/patch-gpp.c deleted file mode 100644 index 4eeb7ecb4d2a..000000000000 --- a/textproc/gpp/files/patch-gpp.c +++ /dev/null @@ -1,10 +0,0 @@ ---- gpp.c.orig Thu Sep 6 12:51:44 2001 -+++ gpp.c Thu Sep 6 12:52:57 2001 -@@ -40,7 +40,6 @@ - #include - #include - #include --#include - - #define STACKDEPTH 50 - #define MAXARGS 100 -- cgit v1.2.3