diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-07-22 01:36:13 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-07-22 01:36:13 +0000 |
commit | e19c294b9bc7325130fa15fdf9f2ef1387d0a9a8 (patch) | |
tree | 70ca104b4f953c634002c72a41f6e3a0f9bf8bf5 /www/swish++ | |
parent | 4910fc395a27687611e04c790cc7414cedcf3ba3 (diff) | |
download | ports-e19c294b9bc7325130fa15fdf9f2ef1387d0a9a8.tar.gz ports-e19c294b9bc7325130fa15fdf9f2ef1387d0a9a8.zip |
Notes
Diffstat (limited to 'www/swish++')
-rw-r--r-- | www/swish++/Makefile | 9 | ||||
-rw-r--r-- | www/swish++/distinfo | 2 | ||||
-rw-r--r-- | www/swish++/files/patch-GNUmakefile | 15 |
3 files changed, 17 insertions, 9 deletions
diff --git a/www/swish++/Makefile b/www/swish++/Makefile index 15390e4eb6df..20a74a73691f 100644 --- a/www/swish++/Makefile +++ b/www/swish++/Makefile @@ -7,7 +7,7 @@ # PORTNAME= swish++ -PORTVERSION= 5.9.2 +PORTVERSION= 5.9.3 CATEGORIES= www textproc MASTER_SITES= http://homepage.mac.com/pauljlucas/software/ @@ -16,6 +16,7 @@ MAINTAINER= obraun@informatik.unibw-muenchen.de RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget USE_PERL5= yes +USE_REINPLACE= yes USE_GMAKE= yes MAKEFILE= GNUmakefile MAKE_ENV= PTHREAD_LIB=${PTHREAD_LIBS} \ @@ -27,11 +28,9 @@ MAN4= swish++.conf.4 swish++.index.4 MAN8= searchd.8 searchmonitor.8 post-patch: - @(cd ${WRKSRC} ; \ - ${SED} '/^#error/d' config.h > config.h.tmp ; \ - ${MV} -f config.h.tmp config.h) + @${REINPLACE_CMD} -e '/^#error/d' ${WRKSRC}/config.h .for file in searchd searchmonitor - @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file}.in + @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file}.in .endfor post-install: diff --git a/www/swish++/distinfo b/www/swish++/distinfo index bb9839c3ac30..2d2c885fefa1 100644 --- a/www/swish++/distinfo +++ b/www/swish++/distinfo @@ -1 +1 @@ -MD5 (swish++-5.9.2.tar.gz) = b27117f89c31a20b431f7d36e67cf0dd +MD5 (swish++-5.9.3.tar.gz) = fa604c8d9f073a6c9b4f8a56c426d942 diff --git a/www/swish++/files/patch-GNUmakefile b/www/swish++/files/patch-GNUmakefile index ab51424a11af..af86a4a86b18 100644 --- a/www/swish++/files/patch-GNUmakefile +++ b/www/swish++/files/patch-GNUmakefile @@ -1,6 +1,15 @@ ---- GNUmakefile.orig Sun Apr 7 00:01:09 2002 -+++ GNUmakefile Sun Apr 7 00:02:15 2002 -@@ -193,7 +193,7 @@ +--- GNUmakefile.orig Sat Jun 1 01:19:02 2002 ++++ GNUmakefile Sun Jul 21 11:53:01 2002 +@@ -159,7 +159,7 @@ + ## + + extract: $(E_OBJECTS) +- $(CC) $(CFLAGS) -o $@ $^ $(E_LINK) ++ $(CC) $(CFLAGS) -o $@ $^ $(PTHREAD_LIB) + + index: $(I_OBJECTS) $(CHARSET_LIB) $(ENCODING_LIB) $(MOD_LIBS) + $(CC) $(CFLAGS) $(CHARSET_LIB_PATH) $(ENCODING_LIB_PATH) \ +@@ -208,7 +208,7 @@ cd $(I_BIN) && $(STRIP) $(CPP_TARGET) install_lib: $(I_LIB) |