pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39800: print/foomatic-ppds - do-install target copies to wrong destination



>Number:         39800
>Category:       pkg
>Synopsis:       print/foomatic-ppds - do-install target copies to wrong 
>destination
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 25 18:30:00 +0000 2008
>Originator:     Robert W.
>Release:        4.0.1
>Organization:
>Environment:
NetBSD robert-pickton 4.0.1 NetBSD 4.0.1 (ROBERT_PICKTON_4-1) #1: Wed Oct 15 
12:07:45 CEST 2008  
mary@waltraud:/home/mary/doc/netbsd/nbsd-4.0.1/usr/src/sys/arch/i386/compile/ROBERT_PICKTON_4-1
 i386
>Description:
The Makefile of the package print/foomatic-ppds copies the files to the wrong 
destination.
--(from Makefile)
do-install:
        ${CP} -R ${WRKSRC}/share/ppd ${PREFIX}/share/foomatic/ppd
--

If there are custom ppds inside the destination, the destination directory, it 
already exists, resulting in a destination directory of 
${PREFIX}/share/foomatic/ppd/ppd, which is obviously incorrect and also 
prevents proper uninstall.
>How-To-Repeat:
mkdir -p /usr/pkg/share/foomatic/ppd/test
make -C /usr/pkgsrc/print/foomatic-ppds install

make -C /usr/pkgsrc/print/foomatic-ppds replace
>Fix:
--- Makefile.orig       2008-04-06 11:24:50.000000000 +0200
+++ Makefile    2008-04-06 11:24:59.000000000 +0200
@@ -34,6 +34,6 @@
 do-build:      # nothing

 do-install:
-       ${CP} -R ${WRKSRC}/share/ppd ${PREFIX}/share/foomatic/ppd
+       ${CP} -R ${WRKSRC}/share/ppd ${PREFIX}/share/foomatic

 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index