svn commit: r339617 - head/accessibility/yasr
John Marino
marino at FreeBSD.org
Mon Jan 13 18:21:05 UTC 2014
Author: marino
Date: Mon Jan 13 18:21:04 2014
New Revision: 339617
URL: http://svnweb.freebsd.org/changeset/ports/339617
Log:
accessibility/yasr: Unbreak everywhere after stage attempt
After staging, this port failed because PLIST_SUB for NLS was
no longer defined. The option has to be explicitly listed
for OPTIONS_SUB to work. Define DOCS while here and bump because
it has been building incorrectly.
Modified:
head/accessibility/yasr/Makefile
Modified: head/accessibility/yasr/Makefile
==============================================================================
--- head/accessibility/yasr/Makefile Mon Jan 13 18:09:51 2014 (r339616)
+++ head/accessibility/yasr/Makefile Mon Jan 13 18:21:04 2014 (r339617)
@@ -3,7 +3,7 @@
PORTNAME= yasr
PORTVERSION= 0.6.9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= accessibility
MASTER_SITES= SF
@@ -20,6 +20,7 @@ SUB_FILES= pkg-message
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
+OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
PLIST_FILES= bin/yasr \
@@ -28,9 +29,9 @@ PLIST_FILES= bin/yasr \
%%NLS%%share/locale/fr/LC_MESSAGES/yasr.mo
PLIST_DIRS= %%DATADIR%%
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if ${OSVERSION} > 900007
+.if ${OPSYS} == FreeBSD && ${OSVERSION} > 900007
EXTRA_PATCHES= ${FILESDIR}/extra-patch-yasr__main.c
.endif
@@ -43,4 +44,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list