tech-pkg archive

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

Re: Make lang/tinyscheme compile under both Linux and NetBSD

Silas Silva <> writes:

> Recently, I discovered that lang/tinyscheme compiles fine under NetBSD,
> but not under Linux.  This is because patch-aa removes the necessary
> -ldl flag to link against dl library on Linux.  If I insert this, it
> breaks on NetBSD (because NetBSD doesn't have it out of libc, right?).
> So, as a workaround, I used NetBSD make preprocessor capabilities to
> check system name and take decisions on that.

Perhaps, you should reuse ${BUILDLINK_LDADD.dl:Q}, e.g., pass its value
in MAKE_ENV or so. See Jeremy's comment on


Home | Main Index | Thread Index | Old Index