ports/62151: benchmarks/webbench - fix build problem on 4.x

Radim Kolar hsn at netmag.cz
Sat Jan 31 13:50:27 UTC 2004


>Number:         62151
>Category:       ports
>Synopsis:       benchmarks/webbench - fix build problem on 4.x
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 31 05:50:22 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD asura.bsd 5.2-RELEASE FreeBSD 5.2-RELEASE #1: Wed Jan 28 18:18:58 CET 2004 root at asura.bsd:/usr/src/sys/i386/compile/GENERIC i386

>Description:
http://bento.freebsd.org/errorlogs/alpha-4-latest/webbench-1.4.log
>How-To-Repeat:
>Fix:
diff -Naur /usr/ports/benchmarks/webbench/Makefile webbench/Makefile
--- /usr/ports/benchmarks/webbench/Makefile	Sat Jan 24 19:01:25 2004
+++ webbench/Makefile	Thu Jan 29 20:40:22 2004
@@ -16,6 +16,9 @@
 
 USE_GETOPT_LONG=yes
 
+MAKE_ENV+=	CPPFLAGS="${CPPFLAGS}" \
+		LDFLAGS="${LDFLAGS}"
+
 .if !defined(NO_INSTALL_MANPAGES)
 MAN1=		webbench.1
 .endif
diff -Naur /usr/ports/benchmarks/webbench/distinfo webbench/distinfo
--- /usr/ports/benchmarks/webbench/distinfo	Thu Jan 22 18:36:27 2004
+++ webbench/distinfo	Thu Jan 29 20:41:32 2004
@@ -1 +1,2 @@
 MD5 (webbench-1.4.tar.gz) = 912e5359a6917dd618c0a2821f615b89
+SIZE (webbench-1.4.tar.gz) = 7663
diff -Naur /usr/ports/benchmarks/webbench/files/patch-Makefile webbench/files/patch-Makefile
--- /usr/ports/benchmarks/webbench/files/patch-Makefile	Thu Jan  1 01:00:00 1970
+++ webbench/files/patch-Makefile	Thu Jan 29 20:38:58 2004
@@ -0,0 +1,13 @@
+--- Makefile.orig	Thu Jan 15 12:09:01 2004
++++ Makefile	Thu Jan 29 20:38:03 2004
+@@ -20,8 +20,8 @@
+ 	install -m 644 debian/changelog $(DESTDIR)$(PREFIX)/share/doc/webbench
+ .endif
+ 
+-webbench: webbench.o Makefile
+-	$(CC) $(CFLAGS) $(LDFLAGS) -o webbench webbench.o $(LIBS) 
++webbench: Makefile
++	${CC} $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o webbench webbench.c $(LIBS) 
+ 
+ clean:
+ 	-rm -f *.o webbench *~ core tags
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list