diff options
-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) |