pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wrappers vs. -I, was: Re: error building pkgsrc/graphics/netpbm on OS X

from my .work.log:

        [*] /usr/pkgsrc/graphics/netpbm/
        /usr/pkgsrc/graphics/netpbm/ -c -I
        -DNDEBUG -pipe -O2 -I/Volumes/pkgsrc5/pkg/include -I/usr/include
        -fno-common -o shhopt.o shhopt.c

        <.> /usr/pkgsrc/graphics/netpbm/ -c -DNDEBUG -pipe
        -O2 -I/usr/pkgsrc/graphics/netpbm/ 
        -o shhopt.o shhopt.c -m32

From the build error, it can't find some .h files that come with the package. The right -I flags are passed in to the gcc wrapper, but then the actual gcc is only called with -I for the buildlink directory.

How do I get those other directories added?
(Either by adding more -I flags to the actual gcc call, or even by adding more links to the buildlink dir)

 - Hubert

Home | Main Index | Thread Index | Old Index