diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-28 05:23:49 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-28 05:23:49 +0800 |
commit | de61a3bff4d24f67e2aadcdb35ba3e4c6cb82404 (patch) | |
tree | 4f86f60d19083488626b0e4d2b1c70f1cb93b169 /Mk | |
parent | e809acf9b86b75e9eb706c0916ec4cf180ea33d6 (diff) | |
download | freebsd-ports-gnome-de61a3bff4d24f67e2aadcdb35ba3e4c6cb82404.tar.gz freebsd-ports-gnome-de61a3bff4d24f67e2aadcdb35ba3e4c6cb82404.tar.zst freebsd-ports-gnome-de61a3bff4d24f67e2aadcdb35ba3e4c6cb82404.zip |
Fix make package-recursive
Keep the ugly way for non staged ports
and properly build the package for staged ports
Tested by: smh
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 08d66f6d356e..377f2800f029 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4792,11 +4792,14 @@ pre-repackage: .if !target(package-noinstall) package-noinstall: +.if defined(NO_STAGE) @${MKDIR} ${WRKDIR} - @cd ${.CURDIR} && ${MAKE} pre-package \ - pre-package-script do-package post-package-script + @cd ${.CURDIR} && ${MAKE} ${_PACKAGE_REAL_SEQ} @${RM} -f ${TMPPLIST} -@${RMDIR} ${WRKDIR} +.else + @cd ${.CURDIR} && ${MAKE} package +.endif .endif ################################################################ |