Subject: pkg/26867: www/tidy needs definition of RANLIB under MacOS X / Darwin; also should install latest documentation
To: gnats bugs <gnats-bugs@gnats.netbsd.org>
From: Mark E. Perkins <perkinsm@bway.net>
List: pkgsrc-bugs
Date: 09/06/2004 14:30:10
>Number:         26867
>Category:       pkg
>Synopsis:       www/tidy needs definition of RANLIB under MacOS X / Darwin; also should install latest documentation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 06 18:31:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mark E. Perkins
>Release:        Darwin 7.5.0 Power Macintosh
>Organization:
>Environment:


System: Darwin crow.fringe.mep 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug  5 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC  Power Macintosh


>Description:


To build properly under MacOS X / Darwin, www/tidy needs definition of RANLIB=ranlib.
Also, the recent update to www/tidy in pkgsrc (to use latest sources) did not include corresponding update to docs.

Makefile and distinfo patches included.


>How-To-Repeat:





>Fix:


Makefile patch:
-----------------------------------
--- Makefile.orig       Thu Sep  2 05:41:56 2004
+++ Makefile    Sat Sep  4 06:39:21 2004
@@ -8,7 +8,7 @@
                http://tidy.sourceforge.net/docs/ \
                http://tidy.sourceforge.net/src/old/
 EXTRACT_SUFX=  .tgz
-DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} tidy_docs_030610${EXTRACT_SUFX}
+DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} tidy_docs_040810${EXTRACT_SUFX}
 
 MAINTAINER=    tech-pkg@NetBSD.org
 HOMEPAGE=      http://tidy.sourceforge.net/
@@ -23,6 +23,9 @@
 HTML_DOCFILES= Overview.html doxygen.cfg grid.gif quickref.html tidy.css      \
                faq.html license.html pending.html release-notes.html tidy.gif
 HTML_DOCDIR=   ${PREFIX}/share/doc/html/tidy
+
+OPSYSVARS+=    MAKEFLAGS
+MAKEFLAGS.Darwin+=     RANLIB=ranlib
 
 post-install:
        ${INSTALL_DATA_DIR} ${HTML_DOCDIR}
-----------------------------------

distinfo patch
-----------------------------------
--- distinfo.orig       Thu Sep  2 05:41:56 2004
+++ distinfo    Fri Sep  3 20:47:31 2004
@@ -2,7 +2,7 @@
 
 SHA1 (tidy_src_040811.tgz) = c3f72c7200ea2ef05d46c882e25ad015e12bfa26
 Size (tidy_src_040811.tgz) = 244076 bytes
-SHA1 (tidy_docs_030610.tgz) = 3c3afddf861cebe91521be7ca0ae2476a547a3a9
-Size (tidy_docs_030610.tgz) = 152720 bytes
+SHA1 (tidy_docs_040810.tgz) = c8665ede43f58d1b4dad5921f0b520ec863eb416
+Size (tidy_docs_030610.tgz) = 153044 bytes
 SHA1 (patch-ab) = 6d44dbc78bed849997108fe6bb5ff41088f653a3
 SHA1 (patch-ac) = 93e397595652a697bb705444f2923453818d1dde



>Release-Note:
>Audit-Trail:
>Unformatted: