Subject: pkg/16156: pkgsrc/i386-mingw32 is missing 'dllwrap' utility
To: None <gnats-bugs@gnats.netbsd.org>
From: None <michal@pasternak.w.lub.pl>
List: netbsd-bugs
Date: 04/01/2002 18:01:05
>Number:         16156
>Category:       pkg
>Synopsis:       'dllwrap' utility is compiled, but not installed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 01 08:02:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     michal@pasternak.w.lub.pl
>Release:        NetBSD 1.5ZA
>Organization:
/* Michal Pasternak, http://mp.w.lub.pl, +48606570000 */
>Environment:
System: NetBSD pr93.lublin.sdi.tpnet.pl 1.5ZA NetBSD 1.5ZA (GENERIC) #0: Tue Feb 19 16:45:49 EST 2002 root@zathras.wasabisystems.com:/big/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

	     'dllwrap' utility is a program, which allows to create 
	     gcc-style .a libraries out of .dll files, as a wrapper
	     for 'dlltool'.
	     
	     I found out, that it was compiled, but not installed
	     by NetBSD's pkgsrc.
	     
	     'dllwrap' highly raises ming32 functionality, so I
	     suggest this patch.

>How-To-Repeat:
>Fix:
Index: i386-mingw32/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/cross/i386-mingw32/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	2002/01/24 16:10:35	1.6
+++ Makefile	2002/04/01 15:55:04
@@ -15,7 +15,7 @@
 MASTER_SITES+=		http://prdownloads.sourceforge.net/mingw/
 CROSS_DISTFILES+=	binutils-2.11.92-20011113-src.tar.gz
 BINUTILS_WRKSRC=	${WRKDIR}/binutils-2.11.92-20011113
-BINUTILS_EXTRAS=	dlltool windres
+BINUTILS_EXTRAS=	dlltool windres dllwrap
 CROSS_DISTFILES+=	gcc-2.95.3-20011106-src.tar.gz
 GCC_WRKSRC=		${WRKDIR}/gcc-2.95.3-20011106
 GCC_VERSION=		2.95.3-7
@@ -54,6 +54,7 @@
 			RANLIB="${RANLIB_FOR_TARGET}" \
 			LD="${LD_FOR_TARGET}" \
 			DLLTOOL="${BINUTILS_WRKSRC}/binutils/dlltool" \
+			DLLWRAP="${BINUTILS_WRKSRC}/binutils/dllwrap" \
 			WINDRES="${BINUTILS_WRKSRC}/binutils/windres"
 
 DISTFILES+=	${CROSS_DISTFILES}
Index: i386-mingw32/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/cross/i386-mingw32/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	2002/01/24 04:56:30	1.2
+++ PLIST	2002/04/01 15:55:06
@@ -5,6 +5,7 @@
 bin/i386-mingw32-c++
 bin/i386-mingw32-c++filt
 bin/i386-mingw32-dlltool
+bin/i386-mingw32-dllwrap
 bin/i386-mingw32-g++
 bin/i386-mingw32-gcc
 bin/i386-mingw32-ld
@@ -22,6 +23,7 @@
 i386-mingw32/bin/c++
 i386-mingw32/bin/c++filt
 i386-mingw32/bin/dlltool
+i386-mingw32/bin/dllwrap
 i386-mingw32/bin/g++
 i386-mingw32/bin/gcc
 i386-mingw32/bin/ld
>Release-Note:
>Audit-Trail:
>Unformatted: