Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2003 02:05:58 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47757: Update port: www/httperf
Message-ID:  <20030201020558.29b9df53.tkato@prontomail.com>

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

>Number:         47757
>Category:       ports
>Synopsis:       Update port: www/httperf
>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:19 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Conditionalize libgnugetopt dependencies

New file:
files/patch-lib::Makefile.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/www/httperf/Makefile www/httperf/Makefile
--- /usr/ports/www/httperf/Makefile	Sat Nov 23 01:09:19 2002
+++ www/httperf/Makefile	Fri Jan 24 05:56:54 2003
@@ -12,17 +12,20 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
-
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 
 MAN1=		httperf.1
 
-.if !defined(NOPORTDOCS)
+.if !exists(/usr/include/getopt.h)
+LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
+.endif
+
 post-install:
+.if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for file in ChangeLog NEWS README TODO
 	${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
diff -urN /usr/ports/www/httperf/files/patch-lib::Makefile.in www/httperf/files/patch-lib::Makefile.in
--- /usr/ports/www/httperf/files/patch-lib::Makefile.in	Thu Jan  1 09:00:00 1970
+++ www/httperf/files/patch-lib::Makefile.in	Fri Jan 24 05:57:30 2003
@@ -0,0 +1,11 @@
+--- lib/Makefile.in.orig	Thu Oct 12 10:04:32 2000
++++ lib/Makefile.in	Fri Jan 24 05:57:18 2003
+@@ -27,7 +27,7 @@
+ .c.o:
+ 	$(COMPILE) $<
+ 
+-LIBUTIL_OBJS = getopt.o getopt1.o ssl_writev.o
++LIBUTIL_OBJS = ssl_writev.o
+ 
+ all: libutil.a
+ 
>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?20030201020558.29b9df53.tkato>