From c226d848e1389380e636e81e7a818561a6b765d6 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 24 Aug 2013 18:30:36 +0000 Subject: [PATCH] - Add missing tab in USES=pathfix - Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo) --- devel/gflags/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/gflags/Makefile b/devel/gflags/Makefile index a90be937f5f0..732e7aa5ceda 100644 --- a/devel/gflags/Makefile +++ b/devel/gflags/Makefile @@ -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