pkgsrc-Bugs archive

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

pkg/48423: print/texlive/package.mk needs workaround for netbsd-5's make



>Number:         48423
>Category:       pkg
>Synopsis:       print/texlive/package.mk needs workaround for netbsd-5's make
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 04 04:15:00 +0000 2013
>Originator:     David A. Holland
>Release:        NetBSD 5.2_STABLE (20130905)
>Organization:
>Environment:
System: NetBSD weatherwax.eecs.harvard.edu 5.2_STABLE NetBSD 5.2_STABLE 
(WEATHERWAX) #7: Thu Sep  5 17:30:42 EDT 2013  
ocelot%weatherwax.eecs.harvard.edu@localhost:/usr/src/sys/arch/amd64/compile/WEATHERWAX
 amd64
Architecture: x86_64
Machine: amd64
>Description:

texlive/package.mk needs this change:

Index: print/texlive/package.mk
===================================================================
RCS file: /cvsroot/pkgsrc/print/texlive/package.mk,v
retrieving revision 1.21
diff -u -r1.21 package.mk
--- print/texlive/package.mk    18 Nov 2013 18:19:25 -0000      1.21
+++ print/texlive/package.mk    4 Dec 2013 04:08:58 -0000
@@ -33,7 +33,7 @@
 .if empty(TEXLIVE_REV)
 DIST_SUBDIR?=  ${PKGNAME_NOREV}
 .else
-DIST_SUBDIR?=  ${PKGBASE:C/-doc$$//}-${TEXLIVE_REV}
+DIST_SUBDIR?=  ${PKGBASE:C/-doc\$$//}-${TEXLIVE_REV}
 .endif
 EXTRACT_SUFX?= .tar.xz

owing, apparently, to parsing differences in netbsd-5's make vs. current.
(not sure about -6)

This change appears to be harmless in -current. 

>How-To-Repeat:

% cd print/tex-texlive-docindex
% make show-var VARNAME=DIST_SUBDIR
tex-texliveindex-32131
%

It should be tex-texlive-docindex-32131.

>Fix:

as above, but someone or someones please review.



Home | Main Index | Thread Index | Old Index