aboutsummaryrefslogtreecommitdiff
path: root/net-im/ickle
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-08 13:16:32 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-08 13:16:32 +0000
commitd9375a36b97083fe6a58fcaf33f23697842a3093 (patch)
treea7c4f49189ff0b002f9165f84efc9926016d5b92 /net-im/ickle
parentb152a41d693a319af9832186abffbc8bbeb8c686 (diff)
downloadports-d9375a36b97083fe6a58fcaf33f23697842a3093.tar.gz
ports-d9375a36b97083fe6a58fcaf33f23697842a3093.zip
Notes
Diffstat (limited to 'net-im/ickle')
-rw-r--r--net-im/ickle/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-im/ickle/Makefile b/net-im/ickle/Makefile
index 0b447bbe4927..f27cab9e462a 100644
--- a/net-im/ickle/Makefile
+++ b/net-im/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>