ports/177854: [PATCH] Fix port: graphics/libgphoto2 NLS detection
Chris Rees
crees at FreeBSD.org
Sun Apr 14 13:00:00 UTC 2013
>Number: 177854
>Category: ports
>Synopsis: [PATCH] Fix port: graphics/libgphoto2 NLS detection
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 14 13:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Chris Rees
>Release: FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD pegasus.bayofrum.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r247189: Sat Feb 23 15:20:18 GMT 2013 root at pegasus.bayofrum.net:/usr/obj/usr/home/crees/workspace/src/stable/9/sys/PEGASUS amd64
>Description:
WITHOUT_NLS is defined in bsd.options.mk nowadays, when ${PORT_OPTIONS:MNLS} implies it.
Of course, without bsd.port.options.mk included, this doesn't take effect, and the build actually fails on a non-NLS system.
>How-To-Repeat:
>Fix:
Include bsd.port.options.mk
While here, use OPTIONSng
--- patch.txt begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 315798)
+++ Makefile (working copy)
@@ -25,7 +25,9 @@
MAN3= libgphoto2.3 libgphoto2_port.3
-.if defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
USE_ICONV= yes
--- patch.txt ends here ---
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list