misc/114612: [UPDATE] pwlib. problems with the assembly of some
ports
viper
viper at perm.raid.ru
Mon Jul 16 05:10:03 UTC 2007
>Number: 114612
>Category: misc
>Synopsis: [UPDATE] pwlib. problems with the assembly of some ports
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 16 05:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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. at 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:
>Unformatted:
More information about the freebsd-bugs
mailing list