[Midnightbsd-cvs] mports: bsd.mport.mk: makeplist will now run make fake without the fake

ctriv at midnightbsd.org ctriv at midnightbsd.org
Mon Dec 3 18:39:15 EST 2007

Log Message:
makeplist will now run make fake without the fake checking.  This way if you
have a bad plist, you can use makeplist to get a good one.

Modified Files:
        bsd.mport.mk (r1.76 -> r1.77)

-------------- next part --------------
Index: bsd.mport.mk
RCS file: /home/cvs/mports/Mk/bsd.mport.mk,v
retrieving revision 1.76
retrieving revision 1.77
diff -L Mk/bsd.mport.mk -L Mk/bsd.mport.mk -u -r1.76 -r1.77
--- Mk/bsd.mport.mk
+++ Mk/bsd.mport.mk
@@ -3943,7 +3943,7 @@
 				post-fake compress-man install-rc-script install-ldconfig-file \
 				fix-fake-symlinks finish-tmpplist
+.if defined(MPORT_MAINTAINER_MODE) && !defined(_MAKEPLIST)
 _FAKE_SEQ+=		check-fake
@@ -5463,7 +5463,8 @@
 # Try to make a plist.  This will probably need to be edited.
 .if !target(makeplist)
-makeplist: fake
+	@cd ${.CURDIR} && ${SETENV} _MAKEPLIST=1 ${MAKE} fake
 	@${ECHO_MSG} "===>   Generating packing list"
 	@if [ ! -f ${DESCR} ]; then ${ECHO_MSG} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi

More information about the Midnightbsd-cvs mailing list