Date: Sun, 20 Dec 2009 08:29:34 GMT From: Andrei Lavreniyuk <andy.lavr@reactor-xg.kiev.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/141797: [PATCH] ports/sysutils/nut (Makefile) Message-ID: <200912200829.nBK8TYP4013923@www.freebsd.org> Resent-Message-ID: <200912200830.nBK8U2j7016581@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141797 >Category: ports >Synopsis: [PATCH] ports/sysutils/nut (Makefile) >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: Sun Dec 20 08:30:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Andrei Lavreniyuk >Release: FreeBSD 8.0-STABLE >Organization: Technica-03, Inc. >Environment: FreeBSD datacenter.technica-03.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Dec 19 12:28:13 EET 2009 root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64 amd64 >Description: ===> Configuring for nut-2.4.1_2 aclocal.m4:16: warning: this file was generated for autoconf 2.61. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. >How-To-Repeat: # /usr/ports/sysutils/nut # make >Fix: View patch + add neon29 Patch attached with submission follows: --- Makefile.orig 2009-12-20 08:25:58.000000000 +0200 +++ Makefile 2009-12-20 10:17:00.000000000 +0200 @@ -127,7 +127,7 @@ .endif .if !defined(WITHOUT_NEON) -LIB_DEPENDS+= neon.28:${PORTSDIR}/www/neon28 +LIB_DEPENDS+= neon.29:${PORTSDIR}/www/neon29 CONFIGURE_ARGS+= --with-neonxml MAN8+= netxml-ups.8 PLIST_SUB+= NUT_NEON="" @@ -165,6 +165,10 @@ CONFIGURE_ARGS+= --without-ipv6 .endif +pre-configure: + @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} \ + ${AUTORECONF} -f -i) + post-patch: @${REINPLACE_CMD} -e 's|<hal/|<|' ${WRKSRC}/drivers/main-hal.c ${WRKSRC}/drivers/dstate-hal.c ${WRKSRC}/drivers/dstate-hal.h @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share| ; s|$${datarootdir}|${PREFIX}/share|' ${WRKSRC}/m4/nut_check_libhal.m4 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912200829.nBK8TYP4013923>