diff options
-rw-r--r-- | lang/mit-scheme/Makefile | 11 | ||||
-rw-r--r-- | lang/mit-scheme/pkg-plist | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/lang/mit-scheme/Makefile b/lang/mit-scheme/Makefile index 7087fab39512..8fbdebcefef6 100644 --- a/lang/mit-scheme/Makefile +++ b/lang/mit-scheme/Makefile @@ -7,6 +7,7 @@ PORTNAME= mit-scheme PORTVERSION= 9.0.1 +PORTREVISION= 1 CATEGORIES= lang scheme MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= mit-scheme/stable.pkg/${PORTVERSION} @@ -19,8 +20,18 @@ GNU_CONFIGURE= yes USE_GMAKE= yes WRKSRC= ${WRKDIR}/mit-scheme-${PORTVERSION}/src/ +OPTIONS= POSTGRESQL "Enable PostgreSQL support" off + .include <bsd.port.pre.mk> +.if defined(WITH_POSTGRESQL) +PLIST_SUB+= POSTGRESQL="" +CONFIGURE_ARGS+=--with-libpq +.else +PLIST_SUB+= POSTGRESQL="@comment " +CONFIGURE_ARGS+=--without-libpq +.endif + MIT_SCHEME_ARCH=i386 DISTNAME= ${PORTNAME}-${PORTVERSION}-${MIT_SCHEME_ARCH} diff --git a/lang/mit-scheme/pkg-plist b/lang/mit-scheme/pkg-plist index 9f5c384147c6..c3ad2965cca9 100644 --- a/lang/mit-scheme/pkg-plist +++ b/lang/mit-scheme/pkg-plist @@ -235,7 +235,7 @@ lib/mit-scheme-%%MIT_SCHEME_ARCH%%/imail/imap-syntax.com lib/mit-scheme-%%MIT_SCHEME_ARCH%%/imail/load.scm lib/mit-scheme-%%MIT_SCHEME_ARCH%%/lib/prbfish.so lib/mit-scheme-%%MIT_SCHEME_ARCH%%/lib/prmd5.so -lib/mit-scheme-%%MIT_SCHEME_ARCH%%/lib/prpgsql.so +%%POSTGRESQL%%lib/mit-scheme-%%MIT_SCHEME_ARCH%%/lib/prpgsql.so lib/mit-scheme-%%MIT_SCHEME_ARCH%%/optiondb.scm lib/mit-scheme-%%MIT_SCHEME_ARCH%%/runtime/advice.bci lib/mit-scheme-%%MIT_SCHEME_ARCH%%/runtime/apply.bci |