diff options
author | lioux <lioux@FreeBSD.org> | 2002-08-08 13:16:32 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-08-08 13:16:32 +0000 |
commit | 25f5567721675127b74e6ae252a210eacc5475e9 (patch) | |
tree | aa3f3096df2cd8887dc0c25f2124e1e2aee273c9 /net | |
parent | 74081bcb9e7f12ee268fcc1e35a049f9f63ca5b8 (diff) | |
download | FreeBSD-ports-25f5567721675127b74e6ae252a210eacc5475e9.zip FreeBSD-ports-25f5567721675127b74e6ae252a210eacc5475e9.tar.gz |
* libicq2000
- Return correct cflags when libicq2000-config is called [1]
- USE_REINPLACE
- Bump PORTREVISION
* ickle
- Patch to work with aforementioned fix
Prompted by: Neil Darlow <neil@darlow.co.uk> [1]
Diffstat (limited to 'net')
-rw-r--r-- | net/ickle/Makefile | 6 | ||||
-rw-r--r-- | net/libicq2000/Makefile | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/net/ickle/Makefile b/net/ickle/Makefile index 0b447bbe..f27cab9 100644 --- a/net/ickle/Makefile +++ b/net/ickle/Makefile @@ -20,15 +20,17 @@ LIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtk-- \ WANT_GNOME= yes USE_GTK= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} CONFIGURE_ARGS= --with-sigc-prefix=${LOCALBASE} \ --with-gtkmm-prefix=${X11BASE} +CONFIGURE_ENV= CPPFLAGS="`${LOCALBASE}/bin/sigc-config --cflags`" post-patch: - @${PERL} -pi -e 's|(#include <sys/socket.h>)|#include <sys/types.h>\n\1|' \ - ${WRKSRC}/ctrlsocket/ControlSocket.h + @${REINPLACE_CMD} -E -e 's|(gtkmm_config_args[[:space:]]*=).+$$|\1|' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .include <bsd.port.pre.mk> diff --git a/net/libicq2000/Makefile b/net/libicq2000/Makefile index 2e483c2..c1079f6 100644 --- a/net/libicq2000/Makefile +++ b/net/libicq2000/Makefile @@ -7,6 +7,7 @@ PORTNAME= libicq2000 PORTVERSION= 0.3.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,6 +17,7 @@ MAINTAINER= lioux@FreeBSD.org LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++ USE_LIBTOOL= yes +USE_REINPLACE= yes MAN1= libicq2000-config.1 @@ -23,14 +25,16 @@ DOC_FILES= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \ TODO post-patch: - @${PERL} -pi -e \ + @${REINPLACE_CMD} -E -e \ 's|^(headersincludedir =).+|\1\$$(includedir)/libicq2000|' \ ${WRKSRC}/libicq2000/Makefile.in - @${PERL} -pi -e 's|(iomanip).h|\1|' ${WRKSRC}/libicq2000/buffer.h + @${REINPLACE_CMD} -E -e 's|^(pkgincludedir.+)/@PACKAGE@|\1|' \ + ${WRKSRC}/libicq2000-config.in post-configure: @${CP} ${LOCALBASE}/bin/libtool ${WRKSRC} - @${PERL} -pi -e 's|^(install_ltlibs=).*|\1no|' ${WRKSRC}/libtool + @${REINPLACE_CMD} -E -e 's|^(install_ltlibs=).+$$|\1no|' \ + ${WRKSRC}/libtool post-install: .ifndef(NOPORTDOCS) |