diff options
author | stefan <stefan@FreeBSD.org> | 2013-06-10 00:18:29 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2013-06-10 00:18:29 +0800 |
commit | b5e5db2f0863a7a4410cb5b1b400d1aa2db62bbf (patch) | |
tree | f341b02ad38a042620a15862c43cac6ccff7f00a /lang | |
parent | 0408701d62aaa933b852d8dc7b80c01acd870c6d (diff) | |
download | freebsd-ports-gnome-b5e5db2f0863a7a4410cb5b1b400d1aa2db62bbf.tar.gz freebsd-ports-gnome-b5e5db2f0863a7a4410cb5b1b400d1aa2db62bbf.tar.zst freebsd-ports-gnome-b5e5db2f0863a7a4410cb5b1b400d1aa2db62bbf.zip |
Properly evaluate option PTHREADS.
PR: 177494
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp>
Approved by: maintainer timeout (1 month)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gauche/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lang/gauche/Makefile b/lang/gauche/Makefile index 1afb6fd9a91d..e4c28d9f77af 100644 --- a/lang/gauche/Makefile +++ b/lang/gauche/Makefile @@ -2,7 +2,8 @@ # $FreeBSD$ PORTNAME= gauche -PORTVERSION= 0.9.3.3 # Keep databases/gauche-gdbm in sync with this +PORTVERSION= 0.9.3.3 +PORTREVISION= 1 CATEGORIES= lang scheme MASTER_SITES= SF/${PORTNAME}/Gauche/ DISTNAME= Gauche-${PORTVERSION} @@ -33,7 +34,7 @@ DATADIR?= ${PREFIX}/share/${PORTNAME}-0.9 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-tls=none \ - --with-iconv=${LOCALBASE} + --with-iconv=${LOCALBASE} PLIST_SUB= VERSION="${PORTVERSION}" \ TARGET="${CONFIGURE_TARGET}" USES= iconv @@ -72,6 +73,12 @@ CONFIGURE_ARGS+=--with-slib=${WRKDIR} PLIST_SUB+= SLIB="@comment " .endif +.if ${PORT_OPTIONS:MPTHREADS} +CONFIGURE_ARGS+= --enable-threads=pthreads +.else +CONFIGURE_ARGS+= --enable-threads=no +.endif + .if ${PORT_OPTIONS:MUTF8} CONFIGURE_ARGS+= --enable-multibyte=utf-8 .elif ${PORT_OPTIONS:MEUCJP} @@ -88,7 +95,7 @@ NOT_FOR_ARCHS= ia64 powerpc sparc64 NOT_FOR_ARCHS_REASON= Does not compile on ia64, powerpc, or sparc64 post-patch: -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e 's|all: info|all:|' ${WRKSRC}/doc/Makefile.in .endif |