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 
>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
NetBSD robert-pickton 4.0.1 NetBSD 4.0.1 (ROBERT_PICKTON_4-1) #1: Wed Oct 15 
12:07:45 CEST 2008  
The Makefile of the package print/foomatic-ppds copies the files to the wrong 
--(from Makefile)
        ${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.
mkdir -p /usr/pkg/share/foomatic/ppd/test
make -C /usr/pkgsrc/print/foomatic-ppds install

make -C /usr/pkgsrc/print/foomatic-ppds replace
--- 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

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

 .include "../../mk/"

Home | Main Index | Thread Index | Old Index