1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Properly include bsd.port.pre.mk before checking for WITH_PKGNG, so that

explicitly setting the latter on FreeBSD 10 is not required.

PR:		182923
Submitted by:	dt71@gmx.com
This commit is contained in:
Stefan Walter 2014-06-07 18:46:59 +00:00
parent 561dc7c8ce
commit eea07d0858
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356942

View File

@ -17,6 +17,8 @@ WRKSRC= ${WRKDIR}
PLIST_FILES= sbin/pkg_cutleaves man/man1/pkg_cutleaves.1.gz
.include <bsd.port.pre.mk>
.if defined(WITH_PKGNG)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-pkg_cutleaves \
${FILESDIR}/extra-patch-pkg_cutleaves.1
@ -51,4 +53,4 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pkg_cutleaves ${STAGEDIR}${PREFIX}/sbin/pkg_cutleaves
${INSTALL_MAN} ${WRKSRC}/pkg_cutleaves.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
.include <bsd.port.post.mk>