Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2003 02:05:04 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47749: Update port: net/serveez
Message-ID:  <20030201020504.0632dc05.tkato@prontomail.com>

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

>Number:         47749
>Category:       ports
>Synopsis:       Update port: net/serveez
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 31 09:10:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Conditionalize libgnugetopt dependencies

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/serveez/Makefile net/serveez/Makefile
--- /usr/ports/net/serveez/Makefile	Mon Nov 11 19:00:46 2002
+++ net/serveez/Makefile	Fri Jan 24 03:57:56 2003
@@ -16,8 +16,7 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
-		guile.10:${PORTSDIR}/lang/guile
+LIB_DEPENDS=	guile.10:${PORTSDIR}/lang/guile
 .if !exists(/usr/bin/bzip2)
 LIB_DEPENDS+=	bz2.1:${PORTSDIR}/archivers/bzip2
 .endif
@@ -27,10 +26,18 @@
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
 LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include `${GUILE_CONFIG} compile`" \
-		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt `${GUILE_CONFIG} link`"
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 INSTALLS_SHLIB=	yes
 
 MAN1=	serveez.1
+
+CPPFLAGS=	`${GUILE_CONFIG} compile`
+LDFLAGS=	`${GUILE_CONFIG} link`
+
+.if !exists(/usr/include/getopt.h)
+LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
+.endif
 
 .include <bsd.port.mk>
>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?20030201020504.0632dc05.tkato>