tech-pkg archive

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

Re: make show-go-modules



Edgar Fuß <ef%math.uni-bonn.de@localhost> writes:

>> And now (I'm trying to package dmarc-cat) I get
>> 	ld: library 'gpgme' not found
>> despite
>> 	.include "../../security/gpgme/buildlink3.mk"
>> in my Makefile.  Probably another silly mistake on my side?

> Answering myself:
> 	MAKE_ENV+=	CGO_LDFLAGS="-L${BUILDLINK_PREFIX.gpgme}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gpgme}/lib"
> did the trick.

I am not very go clueful, but it strikes me that the go machinery should
turn regular LDFLAGS into special-go-LDFLAGS by default.

Do you have gpgme at a different PRWEFIX?   or is this just "go is not
looking in pkgsrc's libdir", which I would think would cause massive
problems, but perhaps not due to "everything shall be go native"
culture.


Home | Main Index | Thread Index | Old Index