Date: Mon, 14 Jan 2002 08:17:39 +0200 (SAT) From: John Hay <jhay@icomtek.csir.co.za> To: andreas@FreeBSD.ORG (Andreas Klemm) 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 Subject: Re: ghostscript-gnu build broken Message-ID: <200201140617.g0E6HdY89334@zibbi.icomtek.csir.co.za> In-Reply-To: <20020113222504.GA85380@titan.klemm.gtn.com> from Andreas Klemm at "Jan 13, 2002 11:25:04 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <malloc.h>||g' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201140617.g0E6HdY89334>