pkgsrc-Bugs archive

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

Re: pkg/34548 possible solution



The following reply was made to PR pkg/34548; it has been noted by GNATS.

From: "Mark E. Perkins" <perkinsm%bway.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: joerg%britannica.bec.de@localhost, "Mark E. Perkins" 
<perkinsm%bway.net@localhost>
Subject: Re: pkg/34548 possible solution
Date: Tue, 12 Jun 2007 18:23:57 -0400

 joerg%britannica.bec.de@localhost wrote:
 >  I'd prefer to do:
 > 
 >  
 >  REQPKG.jadetex=     tex-jadetex>=3.13
 >  REQPKG.gs=  ghostscript{,-esp,-gnu}{,-nox11}>=7.05
 > 
 >  
 >  REQPKGS_PRINT=      ${REQPKG.jadetex:Q} ${REQPKG.gs:Q}
 > 
 >  
 >  and change the loop to
 >      for T in ${REQPKGS_PRINT}; do
 > 
 >  
 >  Can you try that?
 
 That works, and I prefer it, too. ;-)
 
 To be absolutely clear about what I did, here's a patch for the above.
 
 ================================================================
 --- ../htdocs/share/mk/doc.docbook.mk.orig      2007-06-12 18:01:21.000000000
 -0400
 +++ ../htdocs/share/mk/doc.docbook.mk   2007-06-12 17:59:28.000000000 -0400
 @@ -57,7 +57,9 @@
  REQPKGS_COMMON=        docbook>=4.0 docbook-xml>=4.0 opensp>=1.5
  REQPKGS_XSL=   libxslt>=1.0.30 docbook-xsl>=1.62.4
  REQPKGS_DSSSL= openjade>=1.3.2 dsssl-docbook-modular>=1.54
 -REQPKGS_PRINT?=        tex-jadetex>=3.13 
ghostscript{,-esp,-gnu}{,-nox11}>=7.05
 +REQPKG.jadetex=        tex-jadetex>=3.13
 +REQPKG.gs=     ghostscript{,-esp,-gnu}{,-nox11}>=7.05
 +REQPKGS_PRINT= ${REQPKG.jadetex:Q} ${REQPKG.gs:Q}
  REQPKGS_ASCII= w3m>=0.4
  .if defined(NO_TIDY) && empty(NO_TIDY:M[Yy][Ee][Ss])
  REQPKGS_HTML=  tidy>=20021108
 @@ -66,7 +68,7 @@
  .BEGIN:
         @echo -n "[Checking tools for typesetting..."
         @(missing=""; \
 -       for T in ${REQPKGS:S,<,\\<,:S,>,\\>,}; do \
 +       for T in ${REQPKGS_PRINT}; do \
                 if ! ${PKG_INFO} -e $${T} > /dev/null 2>&1; then \
                         missing="$${missing} $${T}";\
                 fi; \
 



Home | Main Index | Thread Index | Old Index