diff options
author | Diane Bruce <db@FreeBSD.org> | 2007-02-27 18:44:10 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2007-02-27 18:44:10 +0000 |
commit | 1956aaa1ac6be7fa36b0b68ef096b57c2c151b01 (patch) | |
tree | 2501a53b2e857eb52cf94e88682bb622a0200039 /editors | |
parent | 1c88b4febd8f9d5983b01abc5e7ef8ae73ccd40b (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')
-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 |