aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/liboop/Makefile17
-rw-r--r--devel/liboop/distinfo2
-rw-r--r--devel/liboop/files/patch-configure10
-rw-r--r--devel/liboop/pkg-plist2
4 files changed, 19 insertions, 12 deletions
diff --git a/devel/liboop/Makefile b/devel/liboop/Makefile
index 2591c1b2b1cc..6fcf4c78069e 100644
--- a/devel/liboop/Makefile
+++ b/devel/liboop/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= liboop
-PORTVERSION= 0.8
-PORTREVISION= 1
+PORTVERSION= 0.9
CATEGORIES= devel
MASTER_SITES= http://download.ofb.net/liboop/
@@ -17,18 +16,16 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns \
wwwcore.1:${PORTSDIR}/www/libwww
+USE_BZIP2= yes
USE_GNOMENG= yes
USE_GNOME= glib12
USE_LIBTOOL= yes
-USE_REINPLACE= yes
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+ PROG_GLIB_CONFIG="${GLIB_CONFIG}"
INSTALLS_SHLIB= yes
-CPPFLAGS= -I${LOCALBASE}/include/w3c-libwww -I${LOCALBASE}/include
-LDFLAGS= -L${LOCALBASE}/lib
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|glib-config|${GLIB_CONFIG:T}|g' ${WRKSRC}/configure
+CPPFLAGS= `libwww-config --cflags` -I${LOCALBASE}/include
+LDFLAGS= `libwww-config --libs` -L${LOCALBASE}/lib
.include <bsd.port.mk>
diff --git a/devel/liboop/distinfo b/devel/liboop/distinfo
index 309b420e6914..cc0124581018 100644
--- a/devel/liboop/distinfo
+++ b/devel/liboop/distinfo
@@ -1 +1 @@
-MD5 (liboop-0.8.tar.gz) = 903f8d2f9b94e7b0ac73be61d6a5442f
+MD5 (liboop-0.9.tar.bz2) = 7275c1141be619a435a74582a2e3376b
diff --git a/devel/liboop/files/patch-configure b/devel/liboop/files/patch-configure
new file mode 100644
index 000000000000..e5c15c7a9ebb
--- /dev/null
+++ b/devel/liboop/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Wed Jan 1 01:57:28 2003
++++ configure Fri Jan 24 02:02:13 2003
+@@ -7057,6 +7057,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/devel/liboop/pkg-plist b/devel/liboop/pkg-plist
index 03581a026457..ac8a5ebb0619 100644
--- a/devel/liboop/pkg-plist
+++ b/devel/liboop/pkg-plist
@@ -22,4 +22,4 @@ lib/liboop-www.so
lib/liboop-www.so.0
lib/liboop.a
lib/liboop.so
-lib/liboop.so.3
+lib/liboop.so.4