ports/141797: [PATCH] ports/sysutils/nut (Makefile)

Andrei Lavreniyuk andy.lavr at reactor-xg.kiev.ua
Sun Dec 20 08:30:03 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list