On Mon, Jan 14, 2002 at 08:17:39AM +0200, John Hay wrote: > > 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.
This could really work bettern, since my patch doesn't work anymore since I updated my autconf and automake environment. So I trapped into the same as you ... Astonishing is, that after changing autoconf version, my patch doesn't work anymore, and -O is again in the CFLAGS :-/ > 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' Can you commit it please ? I'm busy today (have a recert termin soon, in 3 hours ;-) Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives Songs from our band >> 64Bits << http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html
msg33525/pgp00000.pgp
Description: PGP signature