Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2000 08:16:56 +0800 (CST)
From:      edwardc@firebird.org.tw
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/17328: no USA_RESIDENT define while make release
Message-ID:  <200003120016.IAA01372@pc12.adsl93c.tku.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         17328
>Category:       misc
>Synopsis:       no USA_RESIDENT define while make release
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 11 16:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Edward Ping-Da Chuang
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Firebird BBS Project
>Environment:

FreeBSD puffy.firebird.dhs.org 4.0-CURRENT FreeBSD 4.0-CURRENT #3: Sat Mar 11 
07:12:36 CST 2000     root@puffy.firebird.dhs.org:/S/src/sys/compile/Ming-Hue
y  i386

>Description:

	There's no USA_RESIDENT to stuff in ${CHROOTDIR}/mk while make
	release, so it will broken while execute make world after chroot.

	Please commit this ASAP. I think it's critical for future release.

>How-To-Repeat:

	cd /usr/src/release ; make release 

>Fix:

--- Makefile.orig   Sat Mar  4 04:39:22 2000
+++ Makefile    Sun Mar 12 08:12:37 2000
@@ -142,6 +142,9 @@
 .if !defined(CHROOTDIR) || !defined(BUILDNAME) || !defined(CVSROOT)
    @echo "To make a release you must set CHROOTDIR, BUILDNAME and CVSROOT" &&
 .endif
+.if !defined(USA_RESIDENT)
+   @echo "You must set USA_RESIDENT to YES or NO if you are resident in USA."
+.endif
 .if make(release)
 .if exists(${CHROOTDIR})
 # The first command will fail on a handful of files that have their schg
@@ -238,6 +241,8 @@
 .endif
    # Don't remove this, or the build will fall over!
    echo "export RELEASEDIR=${_R}"      >> ${CHROOTDIR}/mk
+   # add USA_RESIDENT since openssl add to the source tree
+   echo "export USA_RESIDENT=${USA_RESIDENT}"  >> ${CHROOTDIR}/mk
    echo "export PATH=${BOOTSTRAPDIR}:$${PATH}:${LOCALDIR}" >> ${CHROOTDIR}/mk
    echo "if [ ! -f /tmp/.world_done ]; then" >> ${CHROOTDIR}/mk
    echo "  cd /usr/src"            >> ${CHROOTDIR}/mk

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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