Skip site navigation (1)Skip section navigation (2)
Date:      26 Sep 2000 09:19:42 -0000
From:      bvi@rucus.ru.ac.za
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21558: Problem with skill-4.0 port
Message-ID:  <20000926091942.76552.qmail@rucus.ru.ac.za>

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

>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 <bsd.port.mk>
--- 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




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