tech-pkg archive

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

Re: net/p5-Net-Pcap build failure (solved)



It looks like adding

MAKE_PARAMS.makemaker+=  LIBS=-Wl,-R${BUILDLINK_PREFIX.libpcap}/lib

to lnet/p5-Net-Pcap's Makefile solves the problem.
I'm uncertain, however, whether that's the correct approach and whether
I should :Q the BUILDLINK_PREFIX.libpcap expansions.

I noticed that some p5-*/Makefiles also pass
        INC=-I${BUILDLINK_PREFIX.whatever}/include
with or without -I. Is that necessary?
Also, some Makefiles pass
        -L${BUILDLINK_PREFIX.whatever}/lib
Should I do that, too? E.g. can BUILDLINK_PREFIX be different from both
/usr/lib and ${LOCALBASE}/lib?

Could someone more knowledgeable please review this (and commit the correct
version)?


Home | Main Index | Thread Index | Old Index