summaryrefslogtreecommitdiff
path: root/editors/xemacs
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2007-02-27 18:44:10 +0000
committerDiane Bruce <db@FreeBSD.org>2007-02-27 18:44:10 +0000
commit1956aaa1ac6be7fa36b0b68ef096b57c2c151b01 (patch)
tree2501a53b2e857eb52cf94e88682bb622a0200039 /editors/xemacs
parent- Update to 2.2 (diff)
- Don't link in postgresql client library unless specifically asked for
Approved by: ehaupt (mentor)
Notes
Notes: svn path=/head/; revision=186148
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 79b6507e26f3..0bd8769ee469 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xemacs
PORTVERSION= ${XEMACS_VER}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES+= editors
MASTER_SITES= ${MASTER_SITE_XEMACS}
MASTER_SITE_SUBDIR= xemacs-${XEMACS_REL}
@@ -64,6 +64,13 @@ CONFIGURE_ARGS+= --with-ldap
CONFIGURE_ARGS+= --with-ldap=no
.endif
+.if defined(WITH_POSTGRES)
+CONFIGURE_ARGS+= --with-postgresql
+LIB_DEPENDS+= pq:${PORTSDIR}databases/postgresql${DEFAULT_PGSQL_VER}-client
+.else
+CONFIGURE_ARGS+= --without-postgresql
+.endif
+
.if !defined(WITHOUT_XEMACS_PACKAGES)
RUN_DEPENDS+= ${LOCALBASE}/lib/xemacs/xemacs-packages/etc/enriched.doc:${PORTSDIR}/editors/xemacs-packages
.endif