summaryrefslogtreecommitdiffstats
path: root/devel/liboop
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-17 20:40:04 +0000
committerijliao <ijliao@FreeBSD.org>2002-06-17 20:40:04 +0000
commitb835bf4650b138ac33f6ca7ac6888b4756238e4b (patch)
treebe7816d1fe9794e8cb13e327b9b170c3467da6ba /devel/liboop
parent8f09c4cd2229822012361486d966ef8a0bb33658 (diff)
downloadFreeBSD-ports-b835bf4650b138ac33f6ca7ac6888b4756238e4b.zip
FreeBSD-ports-b835bf4650b138ac33f6ca7ac6888b4756238e4b.tar.gz
GNU_CONFIGURE -> USE_LIBTOOL
PR: 39431 Submitted by: Ports Fury
Diffstat (limited to 'devel/liboop')
-rw-r--r--devel/liboop/Makefile16
-rw-r--r--devel/liboop/files/patch-configure11
-rw-r--r--devel/liboop/pkg-plist6
3 files changed, 10 insertions, 23 deletions
diff --git a/devel/liboop/Makefile b/devel/liboop/Makefile
index f2fd6eb..d57cd4a 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>
diff --git a/devel/liboop/files/patch-configure b/devel/liboop/files/patch-configure
deleted file mode 100644
index 36e2809..0000000
--- a/devel/liboop/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Tue Nov 27 02:48:10 2001
-+++ configure Tue Nov 27 02:48:38 2001
-@@ -2057,7 +2057,7 @@
-
-
- # Extract the first word of "glib-config", so it can be a program name with args.
--set dummy glib-config; ac_word=$2
-+set dummy glib12-config; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- echo "configure:2063: checking for $ac_word" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_PROG_GLIB_CONFIG'+set}'`\" = set"; then
diff --git a/devel/liboop/pkg-plist b/devel/liboop/pkg-plist
index ba93b6f..03581a0 100644
--- a/devel/liboop/pkg-plist
+++ b/devel/liboop/pkg-plist
@@ -6,26 +6,20 @@ include/oop-tcl.h
include/oop-www.h
include/oop.h
lib/liboop-adns.a
-lib/liboop-adns.la
lib/liboop-adns.so
lib/liboop-adns.so.2
lib/liboop-glib.a
-lib/liboop-glib.la
lib/liboop-glib.so
lib/liboop-glib.so.1
lib/liboop-rl.a
-lib/liboop-rl.la
lib/liboop-rl.so
lib/liboop-rl.so.0
lib/liboop-tcl.a
-lib/liboop-tcl.la
lib/liboop-tcl.so
lib/liboop-tcl.so.0
lib/liboop-www.a
-lib/liboop-www.la
lib/liboop-www.so
lib/liboop-www.so.0
lib/liboop.a
-lib/liboop.la
lib/liboop.so
lib/liboop.so.3
OpenPOWER on IntegriCloud