[Midnightbsd-cvs] mports [16363] trunk/devel/gmake/Makefile: this is horrible but it works around the no depends issue

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Apr 22 21:09:46 EDT 2014


Revision: 16363
          http://svnweb.midnightbsd.org/mports/?rev=16363
Author:   laffer1
Date:     2014-04-22 21:09:45 -0400 (Tue, 22 Apr 2014)
Log Message:
-----------
this is horrible but it works around the no depends issue

Modified Paths:
--------------
    trunk/devel/gmake/Makefile

Modified: trunk/devel/gmake/Makefile
===================================================================
--- trunk/devel/gmake/Makefile	2014-04-23 00:58:53 UTC (rev 16362)
+++ trunk/devel/gmake/Makefile	2014-04-23 01:09:45 UTC (rev 16363)
@@ -20,10 +20,14 @@
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
 
-NLS_USES=	gettext iconv
-NLS_CONFIGURE_ON=	${ICONV_CONFIGURE_ARG} \
+.include <bsd.mport.options.mk>
+
+.if defined(WITH_NLS)
+USES+=	gettext iconv
+CONFIGURE_ARGS+=	${ICONV_CONFIGURE_ARG} \
 			--with-libintl-prefix=${LOCALBASE}
-NLS_CONFIGURE_ENABLE=	nls
+#NLS_CONFIGURE_ENABLE=	nls
+.endif
 
 CONFIGURE_ENV+=	MAKEINFO="makeinfo --no-split"
 



More information about the Midnightbsd-cvs mailing list