> 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 -- [EMAIL PROTECTED] / [EMAIL PROTECTED]


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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to