From owner-freebsd-current Sun Jan 13 22:17:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 6E5A537B416; Sun, 13 Jan 2002 22:17:51 -0800 (PST) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g0E6HdY89334; Mon, 14 Jan 2002 08:17:39 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200201140617.g0E6HdY89334@zibbi.icomtek.csir.co.za> Subject: Re: ghostscript-gnu build broken In-Reply-To: <20020113222504.GA85380@titan.klemm.gtn.com> from Andreas Klemm at "Jan 13, 2002 11:25:04 pm" To: andreas@FreeBSD.ORG (Andreas Klemm) Date: Mon, 14 Jan 2002 08:17:39 +0200 (SAT) Cc: jhay@icomtek.csir.co.za (John Hay), gaspeak@va.prestige.net, akbeech@anchoragerescue.org (Beech Rintoul), freebsd-current@FreeBSD.ORG, apsfilter-help@apsfilter.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Sat, Jan 12, 2002 at 01:25:55PM +0200, John Hay wrote: > > It is not a -current problem. It is if you use the latest automake port, > > which is using v1.5. I tried that command manually with automake14 and > > then I didn't get that error. > > John, what steps did you do exactly ? Something like this: ########################### cd /usr/ports/print/ghostscript-gnu make (fill in the form and wait until it breaks) cd work/ghostscript-6.52/hpijs-1.0 aclocal14 automake14 --foreign --include-deps Makefile cd ../../.. make make install ########################### > Do you think its possible to put "that logic" into the port ? I looked into it a bit. I think it is better if automake don't have to be run. What about removeing files/patch-hpijs-1.0:configure.in and patch the port Makefile with the appened patch? It seems to work here. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org Index: Makefile =================================================================== RCS file: /home/ncvs/ports/print/ghostscript-gnu/Makefile,v retrieving revision 1.63 diff -u -r1.63 Makefile --- Makefile 11 Jan 2002 21:47:33 -0000 1.63 +++ Makefile 14 Jan 2002 06:06:18 -0000 @@ -165,8 +165,10 @@ ${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \ ${WRKSRC}/src/unix-gcc.mak # for HPinkjet driver - ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \ - s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure + # XXX The HPinkjet driver should not be compiled with optimization + ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="-pipe -Wall"|g ; \ + s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="-pipe -Wall"|g' \ + ${WRKSRC}/${HPIJS_NAME}/configure find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \ 's|#include ||g' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message