diff options
author | jkh <jkh@FreeBSD.org> | 1994-08-21 22:32:40 +0800 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-08-21 22:32:40 +0800 |
commit | 689d71169638bd60e2f5c2a9b281fc3b238f367e (patch) | |
tree | ae6dd91a600e3c923db61000f4f7070606fc1f2d /Mk/bsd.port.mk | |
parent | 249e6a4e9c9a78f0be51b68171e2d0e048af391f (diff) | |
download | freebsd-ports-gnome-689d71169638bd60e2f5c2a9b281fc3b238f367e.tar.gz freebsd-ports-gnome-689d71169638bd60e2f5c2a9b281fc3b238f367e.tar.zst freebsd-ports-gnome-689d71169638bd60e2f5c2a9b281fc3b238f367e.zip |
Whoops, the check for a missing distfile was slightly bogus. Now it works.
Submitted by: jkh
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 870ba1162a36..94ac2fbe6317 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1,7 +1,7 @@ # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # -# $Id: bsd.port.mk,v 1.1 1994/08/21 13:12:57 jkh Exp $ +# $Id$ # # Supported Variables and their behaviors: @@ -103,13 +103,6 @@ configure: extract patch -d ${WRKSRC} --quiet -E -p0 < $$i; \ done; \ fi -# We have a small convention for our local configure scripts, which -# is that ${.CURDIR} and the package working directory get passed as -# command-line arguments since all other methods are a little -# problematic. - @if [ -f ${SCRIPTDIR}/configure ]; then \ - sh ${SCRIPTDIR}/configure ${.CURDIR} ${WRKSRC}; \ - fi .if defined(GNU_CONFIGURE) .if !defined(GNU_CONFIGURE_ARGS) @(cd ${WRKSRC}; ./configure i386--freebsd) @@ -117,6 +110,13 @@ configure: extract @(cd ${WRKSRC}; ./configure ${GNU_CONFIGURE_ARGS}) .endif .endif +# We have a small convention for our local configure scripts, which +# is that ${.CURDIR} and the package working directory get passed as +# command-line arguments since all other methods are a little +# problematic. + @if [ -f ${SCRIPTDIR}/configure ]; then \ + sh ${SCRIPTDIR}/configure ${.CURDIR} ${WRKSRC}; \ + fi .endif .if !target(extract) @@ -131,10 +131,11 @@ ${.CURDIR}/.extract_done: @rm -rf ${WRKDIR} @mkdir -p ${WRKDIR} @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ - echo "Sorry, can't find ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}."; \ + echo "Sorry, can't find: ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \ echo "Please obtain this file from:"; \ - echo " $HOME_LOCATION"; \ + echo " ${HOME_LOCATION}"; \ echo "before proceeding."; \ + exit 1; \ fi @${EXTRACT_CMD} ${EXTRACT_ARGS} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} @touch -f ${.CURDIR}/.extract_done |