mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Don't conditionalize fake-pkg on NO_PACKAGE.
This commit is contained in:
parent
49caa3269b
commit
203fba2d95
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1734
@ -3,7 +3,7 @@
|
||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
#
|
||||
# $Id: bsd.port.mk,v 1.160 1995/05/12 08:44:12 asami Exp $
|
||||
# $Id: bsd.port.mk,v 1.161 1995/05/13 05:37:45 asami Exp $
|
||||
#
|
||||
# Please view me with 4 column tabs!
|
||||
|
||||
@ -775,9 +775,7 @@ ${INSTALL_COOKIE}:
|
||||
DEPENDS="${DEPENDS}" X11BASE=${X11BASE} \
|
||||
sh ${SCRIPTDIR}/post-install; \
|
||||
fi
|
||||
.if !defined(NO_PACKAGE)
|
||||
@${MAKE} ${.MAKEFLAGS} fake-pkg
|
||||
.endif
|
||||
@${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE}
|
||||
.endif
|
||||
|
||||
@ -1110,7 +1108,6 @@ describe:
|
||||
# accordance to the @pkgdep directive in the packing lists
|
||||
|
||||
.if !target(fake-pkg)
|
||||
.if !defined(NO_PACKAGE)
|
||||
fake-pkg:
|
||||
@if [ ! -f ${PKGDIR}/PLIST -o ! -f ${PKGDIR}/COMMENT -o ! -f ${PKGDIR}/DESCR ]; then echo "** Missing package files for ${PKGNAME} - installation not recorded."; exit 1; fi
|
||||
@if [ ! -d ${PKG_DBDIR} ]; then rm -f ${PKG_DBDIR}; mkdir -p ${PKG_DBDIR}; fi
|
||||
@ -1132,7 +1129,6 @@ fake-pkg:
|
||||
${ECHO_MSG} " this port again to upgrade it properly."; \
|
||||
fi
|
||||
.endif
|
||||
.endif
|
||||
|
||||
# Depend is generally meaningless for arbitrary ports, but if someone wants
|
||||
# one they can override this. This is just to catch people who've gotten into
|
||||
|
Loading…
Reference in New Issue
Block a user