From owner-freebsd-ports Tue Sep 26 2:20:10 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F08C137B424 for ; Tue, 26 Sep 2000 02:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA64588; Tue, 26 Sep 2000 02:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id 9C67837B422 for ; Tue, 26 Sep 2000 02:19:45 -0700 (PDT) Received: (qmail 76553 invoked by uid 374); 26 Sep 2000 09:19:42 -0000 Message-Id: <20000926091942.76552.qmail@rucus.ru.ac.za> Date: 26 Sep 2000 09:19:42 -0000 From: bvi@rucus.ru.ac.za Reply-To: bvi@rucus.ru.ac.za To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/21558: Problem with skill-4.0 port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21558 >Category: ports >Synopsis: Skill fails to ID os and fails build >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 26 02:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Barry Irwin >Release: FreeBSD 4.1-STABLE i386 >Organization: Rhodes University Computer Users Society >Environment: FreeBSD 4.1-STABLE Ports System >Description: The Current skill-4.0 port $FreeBSD: ports/sysutils/skill/Makefile,v 1.11 2000/09/17 18:53:42 ade Exp $ Fails to build, due to the bundled Config script failing to identify the OS type correctly in the case where the word FreeBSD doesn't occur in the first line of the /etc/motd. This Config script is not needed since the appropriate values are already placed in the Makefile by patch-aa. >How-To-Repeat: cd /usr/ports/sysutils/skill; make ===> Configuring for skill-4.0 Config: unknown system type: unknown ===> Script "Config" failed: here are the contents of "config.log" cat: config.log: No such file or directory *** Error code 1 >Fix: Problem can be solved by removing the following from /usr/ports/skill/Makefile HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Config pre-configure: @${CHMOD} a+x ${WRKSRC}/Config Since the values generated by the Config script are already patched into the Makefile this can be done buy applying the following patch *** Makefile Tue Sep 26 11:15:47 2000 --- Makefile.fixed Tue Sep 26 11:15:33 2000 *************** *** 13,26 **** MAINTAINER= jonny@jonny.eng.br - HAS_CONFIGURE= yes - CONFIGURE_SCRIPT= Config WRKSRC= ${WRKDIR}/${PKGNAME} MAN1= skill.1 MLINKS= skill.1 snice.1 - pre-configure: - @${CHMOD} a+x ${WRKSRC}/Config .include --- 13,22 ---- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message