Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2017 12:40:32 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438353 - head/sysutils/dvdisaster
Message-ID:  <201704121240.v3CCeWSn027680@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Apr 12 12:40:32 2017
New Revision: 438353
URL: https://svnweb.freebsd.org/changeset/ports/438353

Log:
  - Remove obsolete OSVERSION condition
  - Switch to options helpers

Modified:
  head/sysutils/dvdisaster/Makefile

Modified: head/sysutils/dvdisaster/Makefile
==============================================================================
--- head/sysutils/dvdisaster/Makefile	Wed Apr 12 12:39:56 2017	(r438352)
+++ head/sysutils/dvdisaster/Makefile	Wed Apr 12 12:40:32 2017	(r438353)
@@ -65,18 +65,17 @@ post-patch:
 	${REINPLACE_CMD} -e 's|THESE_ARE_THE_DEVEL_SOURCES;|GNUmakefile;|; \
 		/install -d $$(BUILDROOT)$$(DOCSUBDIR)/,+18 d' \
 			${WRKSRC}/GNUmakefile.template
-.elif ${OSVERSION} > 1000000 && ${ARCH} == i386
+.elif ${ARCH} == i386
 	${REINPLACE_CMD} -e 's|THESE_ARE_THE_DEVEL_SOURCES;|GNUmakefile;|; \
 		/install -m 644 README.MODIFYING/{N;p;s/.*/	install -m 644 TODO $$(BUILDROOT)$$(DOCSUBDIR)/;}; \
 		/install -m 644 TODO $$(BUILDROOT)$$(DOCSUBDIR)/,+13 d' \
 			${WRKSRC}/GNUmakefile.template
 .endif
 
-.if ! ${PORT_OPTIONS:MNLS}
+post-patch-NLS-off:
 	${REINPLACE_CMD} -e 's|DOC_LOCALES = cs de en ru|DOC_LOCALES = en|; \
 		s|install -m 644 CREDITS\*|install -m 644 CREDITS\.en|' \
 			${WRKSRC}/GNUmakefile.template
-.endif
 
 do-configure:
 	@(cd ${CONFIGURE_WRKSRC} && \



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