From owner-svn-ports-all@FreeBSD.ORG Sun May 26 12:36:35 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 253DD84C; Sun, 26 May 2013 12:36:35 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 17D2C69B; Sun, 26 May 2013 12:36:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4QCaY0v009555; Sun, 26 May 2013 12:36:34 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4QCaY5K009554; Sun, 26 May 2013 12:36:34 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201305261236.r4QCaY5K009554@svn.freebsd.org> From: Baptiste Daroussin Date: Sun, 26 May 2013 12:36:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319105 - head/math/libqalculate X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 12:36:35 -0000 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