From owner-freebsd-ports Mon May 28 7:40:13 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 21B9537B422 for ; Mon, 28 May 2001 07:40:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4SEe9J90469; Mon, 28 May 2001 07:40:09 -0700 (PDT) (envelope-from gnats) Date: Mon, 28 May 2001 07:40:09 -0700 (PDT) Message-Id: <200105281440.f4SEe9J90469@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Anton Berezin Subject: Re: ports/27708: p5-XML-Parser doesn't build Reply-To: Anton Berezin Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/27708; it has been noted by GNATS. From: Anton Berezin To: mdharnois@home.com, mi@aldan.algebra.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/27708: p5-XML-Parser doesn't build Date: Mon, 28 May 2001 16:31:31 +0200 On Mon, May 28, 2001 at 08:46:17AM -0500, mdharnois@home.com wrote: > >Synopsis: p5-XML-Parser doesn't build Here is the proper fix. *IMPORTANT* Please note, that this is the patch to graphics/hdf, *not* to textproc/p5-XML-Parser. The real problem has nothing to do with p5-XML-Parser - you will have the same problem with any other p5 port which has an XS part and which uses include files from LOCALBASE/include. graphics/hdf is the real culprit. --- files/hdf/src/Makefile.orig Mon May 28 16:23:26 2001 +++ files/hdf/src/Makefile Mon May 28 16:24:24 2001 @@ -49,8 +49,8 @@ glist.h hbitio.h hchunks.h hcomp.h hcompi.h hconv.h \ hdf.h hdfi.h herr.h hfile.h hkit.h hlimits.h hntdefs.h \ hproto.h hqueue.h htags.h linklist.h maldebug.h mcache.h \ - mfan.h mfgr.h mstdio.h patchlevel.h sys_dir_mac.h tbbt.h \ - trace.h vattr.h vg.h vgint.h hdf.inc dffunc.inc \ + mfan.h mfgr.h mstdio.h sys_dir_mac.h tbbt.h trace.h \ + vattr.h vg.h vgint.h hdf.inc dffunc.inc \ ${PREFIX}/include .include --- pkg-plist.orig Mon May 28 16:23:08 2001 +++ pkg-plist Mon May 28 16:24:35 2001 @@ -67,7 +67,6 @@ include/mstdio.h include/netcdf.h include/netcdf.inc -include/patchlevel.h include/sys_dir_mac.h include/tbbt.h include/trace.h For those who already have graphics/hdf installed, the easiest solution would be to do # rm /usr/local/include/patchlevel.h (or whatever your LOCALBASE are belong to). :-) Cheers, ^Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message