Date: 7 Dec 2004 18:19:44 -0000 From: Renato Botelho <renato@galle.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mt@primats.org.ua Subject: =?iso-8859-1?q?ports/74819=3A_=5BPATCH=5D_www/sarg=3A?= =?iso-8859-1?q?_sarg_wasn=B4t_find_gd_libraries?= Message-ID: <20041207181944.91060.qmail@srv1.galle.com.br> Resent-Message-ID: <200412071820.iB7IKSAR087713@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74819 >Category: ports >Synopsis: [PATCH] www/sarg: sarg wasn´t find gd libraries >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: Tue Dec 07 18:20:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Renato Botelho >Release: FreeBSD 5.3-RELEASE-p1 i386 >Organization: Galle Folheados - http://www.galle.com.br >Environment: System: FreeBSD srv1.galle.com.br 5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #4: Wed Dec 1 17:16:06 BRDT >Description: Sarg wasn´t finding gd libraries, so, the option to generate bar graphs wasn´t working. Added a WITHOUT_GD option to disable this feature that is enabled by default Special thanks to the Sarg´s author (Pedro Lineu Orso) Port maintainer (mt@primats.org.ua) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- sarg-2.0.2.patch begins here --- diff -ruN --exclude=CVS /var/jail/data/usr/ports/www/sarg.orig/Makefile /var/jail/data/usr/ports/www/sarg/Makefile --- /var/jail/data/usr/ports/www/sarg.orig/Makefile Tue Dec 7 05:31:12 2004 +++ /var/jail/data/usr/ports/www/sarg/Makefile Tue Dec 7 16:10:54 2004 @@ -14,12 +14,25 @@ MAINTAINER= mt@primats.org.ua COMMENT= Squid log analyzer and HTML report generator +.if !defined(WITHOUT_GD) +LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd +.endif + GNU_CONFIGURE= yes CONFIGURE_ARGS= CC=gcc --enable-bindir="${PREFIX}/bin" --enable-sysconfdir="${PREFIX}/etc/${PORTNAME}" --enable-htmldir=${PREFIX}/www/${PORTNAME} +.if !defined(WITHOUT_GD) +CFLAGS+= -I ${LOCALBASE}/include -L ${LOCALBASE}/lib +.endif + MAN1= sarg.1 post-extract: @${CHMOD} +x ${WRKSRC}/sarg-php/locale + +post-configure: +.if !defined(WITHOUT_GD) + @${SED} -i .orig 's|^\(LDFLAGS.*\)|\1 -I ${LOCALBASE}/include -L ${LOCALBASE}/lib|g' ${WRKSRC}/Makefile +.endif .include <bsd.port.mk> --- sarg-2.0.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041207181944.91060.qmail>