Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2013 12:36:34 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r319105 - head/math/libqalculate
Message-ID:  <201305261236.r4QCaY5K009554@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun May 26 12:36:34 2013
New Revision: 319105
URL: http://svnweb.freebsd.org/changeset/ports/319105

Log:
  Make the port really respect NLS option

Modified:
  head/math/libqalculate/Makefile

Modified: head/math/libqalculate/Makefile
==============================================================================
--- head/math/libqalculate/Makefile	Sun May 26 09:12:26 2013	(r319104)
+++ head/math/libqalculate/Makefile	Sun May 26 12:36:34 2013	(r319105)
@@ -29,8 +29,12 @@ PLIST_SUB+=		NLS="@comment "
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in
+.if ${PORT_OPTIONS:MNLS}
 	@${REINPLACE_CMD} -e 's/^GMSGFMT = @GMSGFMT@/GMSGFMT = msgfmt/' ${WRKSRC}/po/Makefile.in.in
+.else
+	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in
+.endif
+	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/libqalculate.pc.in
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305261236.r4QCaY5K009554>