From nobody@FreeBSD.org  Sun Dec 20 08:29:34 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4DF02106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Dec 2009 08:29:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3CFD58FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Dec 2009 08:29:34 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBK8TYsn013924
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 20 Dec 2009 08:29:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nBK8TYP4013923;
	Sun, 20 Dec 2009 08:29:34 GMT
	(envelope-from nobody)
Message-Id: <200912200829.nBK8TYP4013923@www.freebsd.org>
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: [PATCH] ports/sysutils/nut (Makefile)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         141797
>Category:       ports
>Synopsis:       [PATCH] ports/sysutils/nut (Makefile)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 20 08:30:02 UTC 2009
>Closed-Date:    Sun Dec 20 14:31:52 UTC 2009
>Last-Modified:  Sun Dec 20 14:40:01 UTC 2009
>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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun Dec 20 14:31:14 UTC 2009 
State-Changed-Why:  
I have committed the neon part. The autoreconf command is not needed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=141797 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/141797: commit references a PR
Date: Sun, 20 Dec 2009 14:31:46 +0000 (UTC)

 pav         2009-12-20 14:31:33 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/nut         Makefile 
   Log:
   - Switch to neon29
   
   PR:             ports/141797
   Submitted by:   Andrei Lavreniyuk <andy.lavr@reactor-xg.kiev.ua>
   
   Revision  Changes    Path
   1.54      +2 -2      ports/sysutils/nut/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
