Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 23:19:18 +0100
From:      Shaun Amott <shaun@inerd.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96290: devel/yasm - add WITHOUT_NLS knob; take maintainership
Message-ID:  <1145917158.4815@charon.picobyte.net>
Resent-Message-ID: <200604242220.k3OMKGHd085316@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96290
>Category:       ports
>Synopsis:       devel/yasm - add WITHOUT_NLS knob; take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 24 22:20:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:

>Description:

- Add WITHOUT_NLS knob to keep portlint happy, as gettext isn't mandatory
- Remove USE_REINPLACE while here
- Take maintainership

>How-To-Repeat:

>Fix:

--- yasm.diff begins here ---
diff -urN yasm.orig/Makefile yasm/Makefile
--- yasm.orig/Makefile	Tue Nov 15 06:49:06 2005
+++ yasm/Makefile	Mon Apr 24 22:41:57 2006
@@ -11,17 +11,22 @@
 CATEGORIES=	devel lang
 MASTER_SITES=	http://www.tortall.net/projects/yasm/releases/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	shaun@inerd.com
 COMMENT=	A complete rewrite of the NASM assembler
 
-USE_REINPLACE=	yes
 USE_ICONV=	yes
 USE_AUTOTOOLS=	autoconf:259 libltdl:15
-USE_GETTEXT=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 INSTALLS_SHLIB=	yes
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+.else
+USE_GETTEXT=	yes
+.endif
+
 .if !defined(NOPORTDOCS)
 INSTALL_TARGET=	install install-man
 MAN1=		yasm.1
--- yasm.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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