Date: Fri, 10 Nov 2006 10:19:15 +0600 From: "Denis Eremenko <moonshade@pnhz.kz>" <moonshade@pnhz.kz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/105358: security/hydra build fails in case of subversion with apr-1 Message-ID: <1163132355.4875@abyss.pnhz.kz> Resent-Message-ID: <200611100420.kAA4KMUc031277@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 105358 >Category: ports >Synopsis: security/hydra build fails in case of subversion with apr-1 >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 Nov 10 04:20:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Denis Eremenko <moonshade@pnhz.kz> >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD 6.2-PRERELEASE #0: Wed Nov 8 13:32:56 ALMT 2006 root@abyss.pnhz.kz:/usr/obj/data/os/FreeBSD/src/6/src/sys/ABYSS-6 >Description: security/hydra's configure searches for libsvn_client and if found assumes apr-0, which can be wrong. >How-To-Repeat: 1. install apache >=21 2. install subversion 3. try to build security/hydra >Fix: --- hydra-Makefile begins here --- --- Makefile.orig Fri Nov 10 09:50:49 2006 +++ Makefile Fri Nov 10 10:04:29 2006 @@ -25,7 +25,14 @@ USE_OPENSSL= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src +.include <bsd.port.pre.mk> + post-patch: +.if exists(${LOCALBASE}/bin/apr-1-config) + @${REINPLACE_CMD} -e 's|apr-0|apr-1|g; \ + s|aprutil-0|aprutil-1|g' \ + ${WRKSRC}/configure +.endif @${REINPLACE_CMD} -e 's|CC = gcc||; \ s|-O2|${CFLAGS}|; s|md4\..||g' \ ${WRKSRC}/Makefile.am @@ -33,4 +40,4 @@ do-install: @${INSTALL_PROGRAM} ${WRKSRC}/hydra ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- hydra-Makefile ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1163132355.4875>