Subject: pkg/16370: devel/rx install header file as wrong mode
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rxg@ms25.url.com.tw>
List: netbsd-bugs
Date: 04/16/2002 21:33:38
>Number:         16370
>Category:       pkg
>Synopsis:       devel/rx install header file as wrong mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 16 06:38:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Rui-Xiang Guo
>Release:        NetBSD 1.5ZC
>Organization:
	
>Environment:
	
	
System: NetBSD rxgpc.sparqnet.net 1.5ZC NetBSD 1.5ZC (HIVE) #0: Tue Apr 16 14:23:09 CST 2002 rxg@rxgpc.sparqnet.net:/home/rxg/mysys/arch/i386/compile/HIVE i386
Architecture: i386
Machine: i386
>Description:
devel/rx install header file as wrong mode
>How-To-Repeat:
% ls -l /usr/pkg/include/rxposix.h
-rwxr-xr-x  1 root  wheel  4900 Apr  6 08:46 /usr/pkg/include/rxposix.h
>Fix:
Look into patch-ab:
$NetBSD: patch-ab,v 1.1.1.1 2000/01/17 03:44:28 jlam Exp $

--- rx/Makefile.in.orig Fri Nov 22 07:47:49 1996
+++ rx/Makefile.in      Sun Jan 16 22:11:05 2000
@@ -59,24 +59,23 @@
        $(CC) $(ALL_CFLAGS) -DSCM_MAGIC_SNARFER -E $< | grep "^%%%" | sed -e "s/
^%%%//" > $@ ; \
 
 .c.o:
-       $(CC) -c $(ALL_CFLAGS) $(DEFS) -I$(srcdir) $<
+       $(LIBTOOL) $(CC) -c $(ALL_CFLAGS) $(DEFS) -I$(srcdir) $<
 
-all: librx.a
+all: librx.la
 
 install: all
        test -d $(libdir) || mkdir $(libdir)
        test -d $(includedir) || mkdir $(includedir)
-       $(INSTALL) librx.a $(libdir)/librx.a
-       $(RANLIB) $(libdir)/librx.a
+       $(LIBTOOL) $(INSTALL) librx.la $(libdir)
        $(INSTALL) $(srcdir)/inst-rxposix.h $(includedir)/rxposix.h
        ^^^^^^^^^^
This should be changed to $(BSD_INSTALL_DATA)
>Release-Note:
>Audit-Trail:
>Unformatted: