Don't conditionalize fake-pkg on NO_PACKAGE.

This commit is contained in:
Satoshi Asami 1995-05-13 23:37:16 +00:00
parent c4de35376b
commit 563120df88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8501

View File

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