From sec@yoda.fwe.pi.musin.de  Wed Nov  8 04:25:38 2000
Return-Path: <sec@yoda.fwe.pi.musin.de>
Received: from yoda.fwe.pi.musin.de (yoda.fwe.pi.musin.de [194.246.250.18])
	by hub.freebsd.org (Postfix) with ESMTP id EB1DA37B479
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Nov 2000 04:25:36 -0800 (PST)
Received: (from sec@localhost)
	by yoda.fwe.pi.musin.de (8.11.1/8.11.1) id eA8CPeP82237;
	Wed, 8 Nov 2000 13:25:40 +0100 (CET)
	(envelope-from sec)
Message-Id: <200011081225.eA8CPeP82237@yoda.fwe.pi.musin.de>
Date: Wed, 8 Nov 2000 13:25:40 +0100 (CET)
From: Stefan `Sec` Zehl <sec@yoda.fwe.pi.musin.de>
Reply-To: sec@yoda.fwe.pi.musin.de
To: FreeBSD-gnats-submit@freebsd.org
Cc: oddbjorn@tricknology.org
Subject: genpw-port does not build
X-Send-Pr-Version: 3.2

>Number:         22688
>Category:       ports
>Synopsis:       genpw-port does not build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 08 04:30:01 PST 2000
>Closed-Date:    Wed Jan 10 06:12:12 PST 2001
>Last-Modified:  Wed Jan 10 06:12:33 PST 2001
>Originator:     Stefan `Sec` Zehl
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
>Environment:

FreeBSD-stable

>Description:

genpw port does not build becuase the getopt lib is named 'gnugetopt'

>How-To-Repeat:

yoda:/usr/ports/sysutils/pwgen>sudo make install clean
>Fix:

--- Makefile.org	Fri Oct 13 22:29:13 2000
+++ Makefile	Wed Nov  8 13:22:47 2000
@@ -12,7 +12,7 @@
 
 MAINTAINER=	oddbjorn@tricknology.org
 
-LIB_DEPENDS=	getopt.1:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-1
 

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sf 
State-Changed-When: Wed Jan 10 06:12:12 PST 2001 
State-Changed-Why:  
fixed while ago. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22688 
>Unformatted:
 >> pwgen-1.15.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 >> Attempting to fetch from ftp://ftp.42.org/pub/FreeBSD/distfiles//.
 fetch: pwgen-1.15.tar.gz: File unavailable (e.g., file not found, no access)
 >> Attempting to fetch from http://www.tricknology.org/ports/.
 Receiving pwgen-1.15.tar.gz (14839 bytes): 100%
 14839 bytes transferred in 1.2 seconds (12.41 kBps)
 ===>  Extracting for pwgen-1.15
 >> Checksum OK for pwgen-1.15.tar.gz.
 ===>   pwgen-1.15 depends on shared library: getopt.1 - not found
 ===>    Verifying install for getopt.1 in /usr/ports/devel/libgnugetopt
 >> libgnugetopt-1.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 >> Attempting to fetch from ftp://ftp.42.org/pub/FreeBSD/distfiles//.
 Receiving libgnugetopt-1.1.tar.gz (11357 bytes): 100%
 11357 bytes transferred in 0.2 seconds (65.56 kBps)
 ===>  Extracting for libgnugetopt-1.1
 >> Checksum OK for libgnugetopt-1.1.tar.gz.
 ===>  Patching for libgnugetopt-1.1
 ===>  Configuring for libgnugetopt-1.1
 ===>  Building for libgnugetopt-1.1
 cc -O -pipe -fPIC -o getopt.o -c -s getopt.c
 cc -O -pipe -fPIC -o getopt1.o -c -s getopt1.c
 cc -O -pipe -shared -Wl,-soname,libgnugetopt.so.1 -o libgnugetopt.so.1 getopt.o getopt1.o
 ===>  Installing for libgnugetopt-1.1
 ===>   Generating temporary packing list
 ===>   Running ldconfig
 /sbin/ldconfig -m /usr/local/lib
 ===>   Registering installation for libgnugetopt-1.1
 ===>   Returning to build of pwgen-1.15
 Error: shared library "getopt.1" does not exist
 *** Error code 1
 
