pkgsrc-Users archive

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

[PATCH] sysutils/cdrecord ... can't install cause of wrong paths



/usr/bin/install -c -o root -g wheel -m
644 
/usr/obj/pkgsrc/sysutils/cdrtools/work.vkernel/cdrtools-2.01.01/libsiconv/tables/[cik]*
  /usr/pkg/lib/siconv
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
*** Error code 64

Attached patch fixes the error
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/cdrtools/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile    24 Oct 2007 09:50:16 -0000      1.26
+++ Makefile    13 Dec 2007 22:13:40 -0000
@@ -111,14 +111,14 @@ do-install:
                                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/$$f.8; \
                done
        ${INSTALL_DATA} ${WRKSRC}/libsiconv/tables/[cik]* \
-               ${PREFIX}/lib/siconv
-       ${RM} ${PREFIX}/lib/siconv/*mk
+               ${DESTDIR}${PREFIX}/lib/siconv
+       ${RM} ${DESTDIR}${PREFIX}/lib/siconv/*mk
        ${INSTALL_DATA} ${WRKSRC}/cdda2wav/README* \
-               ${PREFIX}/share/doc/cdrtools/cdda2wav
+               ${DESTDIR}${PREFIX}/share/doc/cdrtools/cdda2wav
        ${INSTALL_DATA} ${WRKSRC}/cdrecord/README* \
-               ${PREFIX}/share/doc/cdrtools/cdrecord
+               ${DESTDIR}${PREFIX}/share/doc/cdrtools/cdrecord
        ${INSTALL_DATA} ${WRKSRC}/mkisofs/README* \
-               ${PREFIX}/share/doc/cdrtools/mkisofs
+               ${DESTDIR}${PREFIX}/share/doc/cdrtools/mkisofs
 
 .include "../../mk/oss.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index