- Use -E, since Ex. RE are used;

- Fix plist and therefore bump PORTREVISION

Noticed by:	bento
This commit is contained in:
Alexander Langer 2002-09-24 11:01:34 +00:00
parent 1af57b45a6
commit f6100b02b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67089
2 changed files with 7 additions and 4 deletions

View file

@ -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:

View file

@ -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