pkgsrc-Bugs archive

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

Re: pkg/39190: print-PLIST in pkgsrc broken?



Hmm, this has been sitting in my local tree but I forgot to report it.

Regards,
Geoff

Index: mk/plist/print-plist.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/plist/print-plist.mk,v
retrieving revision 1.15
diff -u -r1.15 print-plist.mk
--- mk/plist/print-plist.mk     20 Aug 2007 10:59:53 -0000      1.15
+++ mk/plist/print-plist.mk     18 Jul 2008 04:10:37 -0000
@@ -34,8 +34,8 @@
        gsub(/${PKGVERSION:S/./\./g:C/nb[0-9]*$$//}/, "$${PKGVERSION}");\
        gsub(/^${PKGLOCALEDIR}\/locale/, "share/locale");               \
        gsub(/^@dirrm ${PKGLOCALEDIR}\/locale/, "@dirrm share/locale"); \
-       gsub("^${PKGINFODIR}\/", "info/");                              \
-       gsub("^${PKGMANDIR}\/", "man/");
+       gsub(/^${PKGINFODIR}\//, "info/");                              \
+       gsub(/^${PKGMANDIR}\//, "man/");
 _PRINT_PLIST_AWK_SUBST+=}
 
 _PRINT_PLIST_AWK_IGNORE=       ($$0 ~ 
/^${PKG_DBDIR:S|^${PREFIX}/||:S|/|\\/|g}\//)


Home | Main Index | Thread Index | Old Index