Subject: pkg/11338: py-gtk packet
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lha@stacken.kth.se>
List: netbsd-bugs
Date: 10/30/2000 04:18:17
>Number:         11338
>Category:       pkg
>Synopsis:       py-gtk package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 30 04:18:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Love <lha@stacken.kth.se>
>Release:        NetBSD-1.5F
>Organization:
	Stacken Computer Club
>Environment:
System: NetBSD nutcracker.stacken.kth.se 1.5H NetBSD 1.5H (NUTCRACKER) #2: Tue Oct 24 19:07:02 CEST 2000 lha@nutcracker.stacken.kth.se:/usr/src/sys/arch/i386/compile/NUTCRACKER i386


>Description:
	There is no py-gtk pkg

	Building its quite simple, but it requires a modification to
	libtool. The problem is that `need_lib_prefix=no' and
	`need_version=no' isn't set (and becomes "unknown")

	These two are releated to the _LDFLAGS options `-module' and
	`-avoid-version'.

	-module enables .so libraries to not have the prefix `lib'
	-avoid-version avoids creating the symlink from
	lib$name.so.0.0 to lib$name.so

	Sorry for the diff on the diff.

>How-To-Repeat:
	datan# cd /usr/pkgsrc/x11/py-gtk
	bash: cd: /usr/pkgsrc/x11/py-gtk: No such file or directory

>Fix:

First the diff to libtool

Index: patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool/patches/patch-aa,v
retrieving revision 1.14
diff -u -w -r1.14 patch-aa
--- patch-aa    2000/10/12 19:07:07     1.14
+++ patch-aa    2000/10/30 11:43:34
@@ -1,7 +1,7 @@
 $NetBSD$
 
---- ltconfig.in.orig   Sat May 27 02:58:57 2000
-+++ ltconfig.in
+--- ltconfig.in.orig   Sat May 27 03:58:57 2000
++++ ltconfig.in        Mon Oct 30 12:39:10 2000
 @@ -1194,11 +1194,17 @@
  
    netbsd*)
@@ -46,17 +46,19 @@
      hardcode_direct=yes
      hardcode_shlibpath_var=no
      ;;
-@@ -2012,6 +2026,9 @@
+@@ -2012,6 +2026,11 @@
      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
      dynamic_linker='NetBSD (a.out) ld.so'
    else
 +    deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
 +    file_magic_cmd=/usr/bin/file
 +    file_magic_test_file=`echo /usr/lib/libc.so*`
++    need_lib_prefix=no
++    need_version=no
      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${li
ame}.so'
      soname_spec='${libname}${release}.so$major'
      dynamic_linker='NetBSD ld.elf_so'
-@@ -2069,7 +2086,7 @@
+@@ -2069,7 +2088,7 @@
    ;;
  
  solaris*)

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool/Makefile,v
retrieving revision 1.22
diff -u -w -r1.22 Makefile
--- Makefile    2000/10/14 16:11:35     1.22
+++ Makefile    2000/10/30 12:11:49
@@ -1,8 +1,8 @@
-# $NetBSD$
+# $NetBSD: Makefile,v 1.22 2000/10/14 16:11:35 hubertf Exp $
 #
 
 DISTNAME=      libtool-1.3.5
-PKGNAME=       libtool-1.3.5nb6
+PKGNAME=       libtool-1.3.5nb7
 CATEGORIES=    devel pkgtools
 MASTER_SITES=  ${MASTER_SITE_GNU:=libtool/}
 


begin 644 py-gtk.tar.gz
M'XL(`&YE_3D"`^U9[6_B-ACG:_U76'?]L.E$0@))VDI,I9`QU/(BH-L^3(H<
MQPDYG)@E3EON=/O;9Z=I2[NN!.G*NKL\@D#LGY\7/[:?Q_:-IJFK=3W@2[7V
M6@1;#<LP8`U*:CSY+5Z@I5F6;NJMIOBO:0W-J$&CM@?*4HX2"&L)8_PEW/6"
M$%K[YNCFP?]#M"1^2,E7EZ$U&F:K]:_^US3#>N)_W3#,&FQ4_G]U>@\/1X2?
MS7J'X#T`O<%L/NH,[?;!:BV&1+VAF(H))N?]NT(Y4$"W,[?[X^G`GK4/Q/@!
MP\YL;D^=V6`N2WR^.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