Date: Tue, 20 Nov 2012 11:31:46 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307584 - head/www/midori Message-ID: <201211201131.qAKBVk2b008428@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Tue Nov 20 11:31:45 2012 New Revision: 307584 URL: http://svnweb.freebsd.org/changeset/ports/307584 Log: Fix build when DISABLE_MAKE_JOBS is set. While here pet portlint. Feature safe: yes Modified: head/www/midori/Makefile Modified: head/www/midori/Makefile ============================================================================== --- head/www/midori/Makefile Tue Nov 20 11:12:25 2012 (r307583) +++ head/www/midori/Makefile Tue Nov 20 11:31:45 2012 (r307584) @@ -27,8 +27,14 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+=--enable-libnotify \ --enable-addons \ --enable-docs \ - --disable-gtk3 \ - --jobs=${MAKE_JOBS_NUMBER} + --disable-gtk3 + +# if user has set DISABLE_MAKE_JOBS, then MAKE_JOBS_NUMBER is undefined +.if defined(DISABLE_MAKE_JOBS) +CONFIGURE_ARGS+=--jobs=1 +.else +CONFIGURE_ARGS+=--jobs=${MAKE_JOBS_NUMBER} +.endif MAKE_JOBS_SAFE= yes HAS_CONFIGURE= yes @@ -55,7 +61,7 @@ UNIQUE_DESC= Single instance support CONFIGURE_ENV+= CC="${CC}" .if ${PORT_OPTIONS:MNLS} -USE_GETTEXT= yes +USE_GETTEXT= yes PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211201131.qAKBVk2b008428>