aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tcl-trf
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2002-09-24 19:01:34 +0800
committeralex <alex@FreeBSD.org>2002-09-24 19:01:34 +0800
commit6c8c7db6f67ef97ced7a8c2d980543f1b8c538f6 (patch)
tree9bd76b0a15b681bc50cb466b93775681f06f90b8 /devel/tcl-trf
parent6ebc62e15f1c4cdd3ea62b7f15d3f2278c6c3a87 (diff)
downloadfreebsd-ports-graphics-6c8c7db6f67ef97ced7a8c2d980543f1b8c538f6.tar.gz
freebsd-ports-graphics-6c8c7db6f67ef97ced7a8c2d980543f1b8c538f6.tar.zst
freebsd-ports-graphics-6c8c7db6f67ef97ced7a8c2d980543f1b8c538f6.zip
- Use -E, since Ex. RE are used;
- Fix plist and therefore bump PORTREVISION Noticed by: bento
Diffstat (limited to 'devel/tcl-trf')
-rw-r--r--devel/tcl-trf/Makefile9
-rw-r--r--devel/tcl-trf/pkg-plist2
2 files changed, 7 insertions, 4 deletions
diff --git a/devel/tcl-trf/Makefile b/devel/tcl-trf/Makefile
index c1433bd8c25..bf76a6737ff 100644
--- a/devel/tcl-trf/Makefile
+++ b/devel/tcl-trf/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Trf
PORTVERSION= 2.1p2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel tcl83
MASTER_SITES= http://www.oche.de/~akupries/soft/trf/download/
PKGNAMEPREFIX= tcl-
@@ -42,10 +42,13 @@ post-extract:
post-patch:
# Make direct calls to -lbz2
- ${REINPLACE_CMD} -e 's,bz\.([^(]+),BZ2_bz\u\1,g' \
+ ${REINPLACE_CMD} -E 's,bz\.([^(]+),BZ2_bz\1,g' \
+ ${WRKSRC}/generic/bz2.c
+ ${REINPLACE_CMD} -E \
+ 's,BZ2_bzcomp,BZ2_bzComp,g;s,BZ2_bzdecomp,BZ2_bzDecomp,g' \
${WRKSRC}/generic/bz2.c
# Make direct calls to -lz
- ${REINPLACE_CMD} -e 's,zf\.([^(]+),\1,g' ${WRKSRC}/generic/adler.c \
+ ${REINPLACE_CMD} -E 's,zf\.([^(]+),\1,g' ${WRKSRC}/generic/adler.c \
${WRKSRC}/generic/crc_zlib.c ${WRKSRC}/generic/zip.c
post-install:
diff --git a/devel/tcl-trf/pkg-plist b/devel/tcl-trf/pkg-plist
index d1e09465958..958a4c03ae6 100644
--- a/devel/tcl-trf/pkg-plist
+++ b/devel/tcl-trf/pkg-plist
@@ -1,6 +1,6 @@
lib/%%SHLIB_NAME%%
lib/%%SHLIB_LINK%%
-lib/libTrfstub21.a
+lib/libTrfstub83.a
lib/Trf/pkgIndex.tcl
include/trfDecls.h
include/transform.h