From d807df6cfaf5be28e732899e19fe5458de82d9e4 Mon Sep 17 00:00:00 2001 From: pat Date: Wed, 21 Aug 2002 02:52:01 +0000 Subject: - Fix detection of libreadline and bump PORTREVISION [1] - Allow port to compile on -current Submitted by: David Yeske [1] Reviewed by: maintainer --- audio/icecast/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'audio/icecast/Makefile') diff --git a/audio/icecast/Makefile b/audio/icecast/Makefile index 822bd1c4b949..704cb8a95e69 100644 --- a/audio/icecast/Makefile +++ b/audio/icecast/Makefile @@ -7,6 +7,7 @@ PORTNAME= icecast PORTVERSION= 1.3.12 +PORTREVISION= 1 CATEGORIES= audio net MASTER_SITES= http://www.icecast.org/releases/ @@ -14,6 +15,14 @@ MAINTAINER= zach@pabst.bendnet.com HAS_CONFIGURE= yes CONFIGURE_ARGS= --with-libwrap +USE_REINPLACE= yes + +pre-patch: + @${REINPLACE_CMD} -e 's|||' \ + -e 's|||' \ + ${WRKSRC}/src/admin.c + @${REINPLACE_CMD} -e 's|#undef HAVE_HISTORY_H|#undef HAVE_READLINE_HISTORY_H|g' \ + ${WRKSRC}/config.h.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/icecast ${PREFIX}/sbin -- cgit