1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Add missing tab in USES=pathfix

- Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-08-24 18:30:36 +00:00
parent 4375a3aad1
commit c226d848e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325305

View File

@ -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