Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Mar 1995 23:56:42 -0800
From:      asami@cs.berkeley.edu (Satoshi Asami/=?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=)
To:        jmacd@freefall.cdrom.com
Cc:        ports@freefall.cdrom.com
Subject:   Re: bsd.port.mk
Message-ID:  <199503260756.XAA01568@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199503260616.WAA02068@freefall.cdrom.com> (message from Joshua Peck Macdonald on Sat, 25 Mar 1995 22:16:38 -0800)

next in thread | previous in thread | raw e-mail | index | archive | help
 * thud-mit-scheme % make "DISTDIR = ../.."
 * Checksums OK.
 * ===>  Extracting for mit-scheme
 * tar: can't open archive ../../scheme-microcode+dist-7.3-freebsd.tgz : No such file or directory
 * tar: child returned status 3

Well, look at this line in bsd.port.mk:

  if ! (cd ${WRKDIR};${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\

The problem is that we've changed bsd.port.mk a while back to have "cd
${WRKDIR}" before "${EXTRACT_CMD}" so that we can use unzip, etc.,
that doesn't have the equivalent to "-C" in tar.

So relative pathnames in DISTDIRs don't work anymore, which was
obviously an oversight at that time.  You can still use absolute
pathnames for alternative DISTDIRs while we figure out how to fix
this.  Any ideas, anyone?

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503260756.XAA01568>