Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 17:58:49 -0700 (PDT)
From:      "David A. Koran" <dak@solo.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/29184: majordomo "makeseed" pre-install script
Message-ID:  <200107240058.f6O0wn312953@freefall.freebsd.org>

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

>Number:         29184
>Category:       ports
>Synopsis:       majordomo "makeseed" pre-install script
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 23 18:00:03 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     David A. Koran
>Release:        4.3
>Organization:
SoloNet
>Environment:
FreeBSD ------- 4.3-STABLE FreeBSD 4.3-STABLE #3: Fri Jul 20 15:49:22 EDT 2001     ---@--------:/usr/obj/usr/src/sys/------  i386
>Description:
You'll get an "Error 1" and the build will break. The following appears in the "Makefile":

pre-install:
                @ if test -f ${WRKSRC}/majordomo.cf; then :; else \
                        ${CP} ${WRKSRC}/sample.cf ${WRKSRC}/majordomo.cf; \
                        /usr/bin/perl ${SCRIPTDIR}/makeseed ${WRKSRC}/majordomo.cf; \
                fi


---- however, the script "makeseed" does not exist. Albeit, the distro does not contain a majordomo.cf file but a sample.cf file, so a rebuild after failure will bypass the logic of the "if" statement if you do not issue a clean.
>How-To-Repeat:
Build current majordomo either via ports upgrade or for first time. 
>Fix:
Upon build failure, reissue a "make all install" to rebuild. This subverts the Makefile logic.
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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