diff options
author | db <db@FreeBSD.org> | 2007-02-28 02:44:10 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2007-02-28 02:44:10 +0800 |
commit | 5309e8563c16e91f338236afe5adfec695b05aec (patch) | |
tree | 36667d0ac39931b9bb03f47398a22f29b3a92801 /editors/xemacs | |
parent | 118511bac55485cb34443127cf30d44b19c7c62b (diff) | |
download | freebsd-ports-gnome-5309e8563c16e91f338236afe5adfec695b05aec.tar.gz freebsd-ports-gnome-5309e8563c16e91f338236afe5adfec695b05aec.tar.zst freebsd-ports-gnome-5309e8563c16e91f338236afe5adfec695b05aec.zip |
- Don't link in postgresql client library unless specifically asked for
Approved by: ehaupt (mentor)
Diffstat (limited to 'editors/xemacs')
-rw-r--r-- | editors/xemacs/Makefile | 9 |
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 |