Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2003 00:17:37 +0100 (CET)
From:      Volker Stolz <vs@foldr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48796: [patch] wmmount always needs gnugetopt (bento)
Message-ID:  <200302282317.h1SNHbJu076504@monster.theater.foldr.org>

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

>Number:         48796
>Category:       ports
>Synopsis:       [patch] wmmount always needs gnugetopt (bento)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 28 15:20:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD monster.theater.foldr.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sun Nov 24 14:40:01 CET 2002 root@monster.theater.foldr.org:/usr/obj/usr/src/sys/MONSTER i386


>Description:
bento noticed that the built-in getopt.h in 5.x doesn't suffice.
Partially revert ports/47761.
Tested on: -STABLE,-CURRENT
>How-To-Repeat:
>Fix:
diff -urN wmmount.orig/Makefile wmmount/Makefile
--- wmmount.orig/Makefile	Tue Feb 25 19:52:26 2003
+++ wmmount/Makefile	Sat Mar  1 00:10:36 2003
@@ -20,11 +20,9 @@
 USE_REINPLACE=	yes
 MAKE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 
-.if !exists(/usr/include/getopt.h)
 LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
-.endif
 
 post-patch:
 .for file in system.wmmount.eg system.wmmount.sh
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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