Subject: pkg/33632: www/libwww solaris
To: None <,,>
From: Gilles Dauphin <>
List: pkgsrc-bugs
Date: 06/02/2006 15:25:01
>Number:         33632
>Category:       pkg
>Synopsis:       www/libwww solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 02 15:25:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc

System: SunOS 5.10 Generic_Patch_118844-30 i86pc


bmake install the first time

gmake[1]: Leaving directory `/pkg/obj/www/libwww/work/w3c-libwww-5.4.0'
===> [Automatic manual page handling]
=> Generating post-install file lists
===> Registering installation for libwww-5.4.0nb5
libwww-5.4.0nb5 requires installed package openssl-0.9.7inb1
libwww-5.4.0nb5 requires installed package zlib-1.2.3
=> Checking for missing run-time search paths in libwww-5.4.0nb5
=> Checking for work-directory references in libwww-5.4.0nb5
=> Checking file-check results for libwww-5.4.0nb5
*** The PLIST does not match installed files!
*** The following files are in /usr/pkg but not in the PLIST:
*** Error code 1


bmake install 
first time


You must rebuild with automake when using
the configure's option --with-md5=no , else you alway build the modules/md5
and there is a md5 dependency in Library/src. Here is the patch:

--- Makefile.orig       Fri Jun  2 17:11:24 2006
+++ Makefile    Fri Jun  2 17:02:02 2006
@@ -18,7 +18,7 @@
 SITES_libwww-configure-5.4.0nb1.gz=    ${MASTER_SITE_LOCAL}
-USE_TOOLS+=            gmake perl
+USE_TOOLS+=            gmake perl automake14
 USE_LIBTOOL=           YES
@@ -39,6 +39,8 @@
        ${TOUCH} ${WRKSRC}/${f}
        ${TOUCH} `${FIND} ${WRKSRC} -name -print`
+       sleep 1
+       ${TOUCH} ${WRKSRC}/modules/ ${WRKSRC}/Library/src/
 .include "../../mk/"
@@ -50,8 +52,13 @@
 .if ${OPSYS} == "SunOS"
 # Solaris has a /usr/lib/libmd5 which seems to be enouth, and
 # /usr/local/lib/libmd5 breaks /usr/lib/librt
-CONFIGURE_ARGS+= --without-md5
+CONFIGURE_ARGS+= --with-md5=no
 PLIST_SUBST+=  MD5LIB="@comment "
+       (cd ${WRKSRC}/modules; ${TOUCH} ; gmake
+       (cd ${WRKSRC}/Library/src; ${TOUCH} ; gmake
 .  if !exists(/usr/include/md5.h)
 CONFIGURE_ARGS+=       --with-md5=${SSLBASE:Q}