aboutsummaryrefslogtreecommitdiff
path: root/devel/gconf2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-05-06 05:31:31 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-05-06 05:31:31 +0000
commite817a0022f99836a89d2a58ec8f1d589464d084d (patch)
tree50c61ccfbe4836b919538e627ec5eb1606727cbf /devel/gconf2
parent7f33bb1f934a07682b2729a3c337c67ac12d9a51 (diff)
downloadports-e817a0022f99836a89d2a58ec8f1d589464d084d.tar.gz
ports-e817a0022f99836a89d2a58ec8f1d589464d084d.zip
Notes
Diffstat (limited to 'devel/gconf2')
-rw-r--r--devel/gconf2/Makefile17
-rw-r--r--devel/gconf2/distinfo6
2 files changed, 9 insertions, 14 deletions
diff --git a/devel/gconf2/Makefile b/devel/gconf2/Makefile
index 250fbed4fe6e..7064b56e2320 100644
--- a/devel/gconf2/Makefile
+++ b/devel/gconf2/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= gconf2
-PORTVERSION= 2.26.0
+PORTVERSION= 2.26.1
PORTREVISION?= 0
CATEGORIES= devel gnome
MASTER_SITES= GNOME
@@ -39,24 +39,19 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= gconftool-2.1
+OPTIONS= LDAP "Enable LDAP support" off
+
.include <bsd.port.pre.mk>
-.if defined(WITH_LDAP) || exists(${LOCALBASE}/include/ldap.h)
+.if defined(WITH_LDAP)
USE_OPENLDAP= yes
-
+CONFIGURE_ARGS+=--with-openldap
PLIST_SUB+= LDAP=""
.else
+CONFIGURE_ARGS+=--without-openldap
PLIST_SUB+= LDAP="@comment "
.endif
-pre-everything::
-.if !defined(WITH_LDAP)
- @${ECHO_MSG}
- @${ECHO_MSG} "You can enable ldap support by defining"
- @${ECHO_MSG} "WITH_LDAP"
- @${ECHO_MSG}
-.endif
-
.include <bsd.port.post.mk>
.endif
diff --git a/devel/gconf2/distinfo b/devel/gconf2/distinfo
index 4330c8a589a6..c94165e4f922 100644
--- a/devel/gconf2/distinfo
+++ b/devel/gconf2/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome2/GConf-2.26.0.tar.bz2) = b010f0de356ea093c6a73778b13de956
-SHA256 (gnome2/GConf-2.26.0.tar.bz2) = 2b9fe741f84d78d7c4f18835728facce81f7db656c2c37f669ee61785911da10
-SIZE (gnome2/GConf-2.26.0.tar.bz2) = 1490741
+MD5 (gnome2/GConf-2.26.1.tar.bz2) = 1f35137836eec03fa7e901230200a34a
+SHA256 (gnome2/GConf-2.26.1.tar.bz2) = d557da05cc2f3a45e711b9ca097db7f6214dfe6b1c8f5ee63145fc6100e703fd
+SIZE (gnome2/GConf-2.26.1.tar.bz2) = 1474736