Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2013 05:35:04 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335813 - in head: devel/cdecl misc/getopt
Message-ID:  <201312070535.rB75Z4vo005875@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Dec  7 05:35:04 2013
New Revision: 335813
URL: http://svnweb.freebsd.org/changeset/ports/335813

Log:
  Remove PORT_OPTIONS:MDOCS checks from ports which don't need it
  Add NO_ARCH if useful

Modified:
  head/devel/cdecl/Makefile
  head/misc/getopt/Makefile

Modified: head/devel/cdecl/Makefile
==============================================================================
--- head/devel/cdecl/Makefile	Sat Dec  7 05:34:49 2013	(r335812)
+++ head/devel/cdecl/Makefile	Sat Dec  7 05:35:04 2013	(r335813)
@@ -20,12 +20,8 @@ MAKE_ENV+=	STAGEDIR=$(STAGEDIR)
 
 CONFLICTS=	cutils-[0-9]*
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/testset* ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/misc/getopt/Makefile
==============================================================================
--- head/misc/getopt/Makefile	Sat Dec  7 05:34:49 2013	(r335812)
+++ head/misc/getopt/Makefile	Sat Dec  7 05:35:04 2013	(r335813)
@@ -17,15 +17,11 @@ MAKE_ENV+=	LIBCGETOPT=0
 
 DOCS=		Changelog README
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



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