Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 1999 14:27:36 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        jseger@freebsd.org
Cc:        ports@freebsd.org
Subject:   libwww port and xmlparse.h
Message-ID:  <199904062127.OAA72152@silvia.hip.berkeley.edu>

next in thread | raw e-mail | index | archive | help
The libwww port is not installing the file xmlparse.h that is required
by HTXML.h (which it does install).  The following patch fixes that.

I also noticed that even though it's not fatal, the ldconfig run
inside its own Makefile is barfing due to a missing OBJFORMAT.  The
MAKE_ENV will fix that.  It probably means we can take out the first
line of post-install (but I haven't tested that).

-PW
---
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/www/libwww/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	1999/03/08 00:15:40	1.16
+++ Makefile	1999/04/06 11:25:01
@@ -17,9 +17,12 @@
 USE_GMAKE=	yes
 CONFIGURE_ARGS=	--enable-shared --enable-static
 DOCDIR=		${PREFIX}/share/doc/libwww
+MAKE_ENV=	objformat=${PORTOBJFORMAT}
 
 post-install:
 	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/modules/expat/xmlparse/xmlparse.h \
+		${PREFIX}/include/w3c-libwww/
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCDIR}/User
 	${CP} -R ${WRKSRC}/Library/User/* ${DOCDIR}/User
Index: pkg/PLIST
===================================================================
RCS file: /usr/cvs/ports/www/libwww/pkg/PLIST,v
retrieving revision 1.12
diff -u -r1.12 PLIST
--- PLIST	1999/03/08 00:15:42	1.12
+++ PLIST	1999/04/06 11:25:11
@@ -150,6 +150,7 @@
 include/w3c-libwww/WWWZip.h
 include/w3c-libwww/wwwconf.h
 include/w3c-libwww/wwwsys.h
+include/w3c-libwww/xmlparse.h
 lib/libmd5.a
 lib/libmd5.la
 lib/libmd5.so.1


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904062127.OAA72152>