svn commit: r325305 - head/devel/gflags

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Aug 24 18:30:36 UTC 2013


Author: sunpoet
Date: Sat Aug 24 18:30:36 2013
New Revision: 325305
URL: http://svnweb.freebsd.org/changeset/ports/325305

Log:
  - Add missing tab in USES=pathfix
  - Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo)

Modified:
  head/devel/gflags/Makefile

Modified: head/devel/gflags/Makefile
==============================================================================
--- head/devel/gflags/Makefile	Sat Aug 24 17:00:48 2013	(r325304)
+++ head/devel/gflags/Makefile	Sat Aug 24 18:30:36 2013	(r325305)
@@ -15,8 +15,8 @@ OPTIONS_DEFINE=	DOCS
 
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	libtool
-USES=	pathfix
 USE_LDCONFIG=	yes
+USES=		pathfix
 
 PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \
 		designstyle.css gflags.html
@@ -28,7 +28,7 @@ post-patch:
 		-e 's|^\(docdir = \).*|\1${DOCSDIR}|' \
 		-e 's|^\(pkgconfigdir = \).*|\1$$(DESTDIR)$$(prefix)/libdata/pkgconfig|' \
 			${WRKSRC}/Makefile.in
-.if empty(PORT_OPTIONS:MDOCS)
+.if !${PORT_OPTIONS:MDOCS}
 	@${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in
 .endif
 


More information about the svn-ports-head mailing list