aboutsummaryrefslogtreecommitdiff
path: root/devel/liboop/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-17 20:40:04 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-17 20:40:04 +0000
commite8c042ad2501c42aa4d0b4c444054cb82c076de1 (patch)
tree0be8e660dd8392b3aee47cffd4eb265a31f45fed /devel/liboop/Makefile
parent75f1840a6a2fc057e382f0cfee38661e4549ccb2 (diff)
downloadports-e8c042ad2501c42aa4d0b4c444054cb82c076de1.tar.gz
ports-e8c042ad2501c42aa4d0b4c444054cb82c076de1.zip
Notes
Diffstat (limited to 'devel/liboop/Makefile')
-rw-r--r--devel/liboop/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/devel/liboop/Makefile b/devel/liboop/Makefile
index f2fd6eb19c83..d57cd4a14ecc 100644
--- a/devel/liboop/Makefile
+++ b/devel/liboop/Makefile
@@ -8,21 +8,25 @@
PORTNAME= liboop
PORTVERSION= 0.8
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://download.ofb.net/liboop/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= adns:${PORTSDIR}/net/adns \
- wwwcore:${PORTSDIR}/www/libwww
+LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns \
+ wwwcore.1:${PORTSDIR}/www/libwww
USE_GLIB= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/w3c-libwww" \
- LDFLAGS="-L${LOCALBASE}/lib"
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
+CPPFLAGS= -I${LOCALBASE}/include/w3c-libwww -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
post-patch:
- @${PERL} -pi -e "s,glib-config,${GLIB_CONFIG},g" ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|glib-config|${GLIB_CONFIG:T}|g' ${WRKSRC}/configure
.include <bsd.port.mk>