From nobody@FreeBSD.org  Mon Jul 16 05:04:01 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 844DA16A404
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Jul 2007 05:04:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 5CB6A13C48D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Jul 2007 05:04:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l6G540fw090779
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Jul 2007 05:04:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l6G540jp090778;
	Mon, 16 Jul 2007 05:04:00 GMT
	(envelope-from nobody)
Message-Id: <200707160504.l6G540jp090778@www.freebsd.org>
Date: Mon, 16 Jul 2007 05:04:00 GMT
From: viper <viper@perm.raid.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [UPDATE] pwlib. problems with the assembly of some ports
X-Send-Pr-Version: www-3.0

>Number:         114612
>Category:       ports
>Synopsis:       [UPDATE] pwlib. problems with the assembly of some ports
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 16 05:10:02 GMT 2007
>Closed-Date:    Thu Jul 26 17:30:00 GMT 2007
>Last-Modified:  Thu Jul 26 17:30:10 GMT 2007
>Originator:     viper
>Release:        7.0
>Organization:
>Environment:
FreeBSD DOM.RU 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jul  4 12:25:24 YEKST 2007     viper@DOM.RU:/usr/obj/usr/src/sys/viper  i386

>Description:
In some versions of the ports configure looking version.h file in the /usr/local/share/pwlib. For example, this makes the new version of asterisk.
>How-To-Repeat:

>Fix:
Apply patch

Patch attached with submission follows:

diff -ruN pwlib.orig/Makefile pwlib/Makefile
--- pwlib.orig/Makefile	2007-05-24 10:56:18.000000000 +0600
+++ pwlib/Makefile	2007-07-16 10:19:42.000000000 +0600
@@ -7,7 +7,7 @@
 
 PORTNAME=	pwlib
 PORTVERSION=	1.10.3
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.voxgratia.org/releases/
diff -ruN pwlib.orig/files/patch-Makefile.in pwlib/files/patch-Makefile.in
--- pwlib.orig/files/patch-Makefile.in	2006-07-13 06:33:05.000000000 +0600
+++ pwlib/files/patch-Makefile.in	2007-07-13 16:19:18.000000000 +0600
@@ -1,9 +1,6 @@
-
-$FreeBSD: ports/devel/pwlib/files/patch-Makefile.in,v 1.1 2006/07/13 00:33:05 sobomax Exp $
-
---- Makefile.in
-+++ Makefile.in
-@@ -257,18 +254,10 @@
+--- Makefile.in.orig	2005-04-06 16:10:54.000000000 +0600
++++ Makefile.in	2007-07-13 16:16:39.000000000 +0600
+@@ -254,18 +254,10 @@
                       $(DESTDIR)$(PREFIX)/share/pwlib/make ; \
  		do mkdir -p $$dir ; chmod 755 $$dir ; \
  	done )
@@ -24,3 +21,11 @@
  	)
  	(cd $(DESTDIR)$(LIBDIR); \
  		rm -f  libpt.@SHAREDLIBEXT@ ; \
+@@ -295,6 +287,7 @@
+ 	(for fn in make/*.mak ; \
+ 		do $(INSTALL) -m 444 $$fn $(DESTDIR)$(PREFIX)/share/pwlib/make; \
+ 	done)
++	$(INSTALL) -m 755 version.h $(DESTDIR)$(PREFIX)/share/pwlib/
+ 	$(INSTALL) -m 755 make/ptlib-config $(DESTDIR)$(PREFIX)/share/pwlib/make/
+ 	(cd $(DESTDIR)$(PREFIX)/bin; rm -f ptlib-config ; ln -snf ../share/pwlib/make/ptlib-config ptlib-config)
+ 
diff -ruN pwlib.orig/pkg-plist pwlib/pkg-plist
--- pwlib.orig/pkg-plist	2006-12-08 12:47:27.000000000 +0500
+++ pwlib/pkg-plist	2007-07-13 16:31:52.000000000 +0600
@@ -178,5 +178,6 @@
 %%DATADIR%%/make/qt.mak
 %%DATADIR%%/make/unix.mak
 %%DATADIR%%/make/xlib.mak
+%%DATADIR%%/version.h
 @dirrm %%DATADIR%%/make
 @dirrm %%DATADIR%%


>Release-Note:
>Audit-Trail:

From: "viper" <viper@perm.raid.ru>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Cc:  
Subject: Re: misc/114612: [UPDATE] pwlib. problems with the assembly of some ports
Date: Mon, 16 Jul 2007 14:11:48 +0600

 Sorry, wrong category. Please, send in the "ports" 
 
 _______________________
 Best regards, 
 VipeR
 
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jul 16 23:31:35 UTC 2007 
Responsible-Changed-Why:  
Ports PR. 

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

From: linimon@lonesome.com (Mark Linimon)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114612: [UPDATE] pwlib. problems with the assembly of some ports]
Date: Thu, 19 Jul 2007 15:08:21 -0500

 ----- Forwarded message from Steve Ames <steve@energistic.com> -----
 
 From: Steve Ames <steve@energistic.com>
 To: freebsd-ports-bugs@freebsd.org
 
 This change looks fine.
 
 -Steve
 
 ----- End forwarded message -----
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Thu Jul 26 17:29:58 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114612: commit references a PR
Date: Thu, 26 Jul 2007 17:29:58 +0000 (UTC)

 rafan       2007-07-26 17:29:50 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/pwlib          Makefile pkg-plist 
     devel/pwlib/files    patch-Makefile.in 
   Log:
   - Install version.h to DATADIR, some ports' configure script looks this
     file, for example, the newer version of asterisk.
   
   PR:             ports/114612
   Submitted by:   viper <viper at perm.raid.ru>
   Approved by:    Steve Ames <steve at energistic.com> (maintainer)
   
   Revision  Changes    Path
   1.39      +1 -1      ports/devel/pwlib/Makefile
   1.2       +11 -6     ports/devel/pwlib/files/patch-Makefile.in
   1.11      +1 -0      ports/devel/pwlib/pkg-plist
 _______________________________________________
 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:
