ports/96290: devel/yasm - add WITHOUT_NLS knob; take maintainership
Shaun Amott
shaun at inerd.com
Mon Apr 24 22:20:24 UTC 2006
>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 at FreeBSD.org
+MAINTAINER= shaun at 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:
More information about the freebsd-ports-bugs
mailing list