pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/56349 (devel/got: build failure on macOS)
The following reply was made to PR pkg/56349; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/56349 (devel/got: build failure on macOS)
Date: Sun, 8 Aug 2021 18:09:16 +0000
On Sun, Aug 08, 2021 at 02:55:01AM +0000, Paul W. Rankin wrote:
> Apparently libmd is available in macOS, but needs to be included with
> `-lmd`. This provides some progress, with the next build error:
>
> $ bmake CFLAGS+='-lmd' install
^^^^^^^^^^^^^^
Don't do that. In addition to CFLAGS being the wrong variable (you
wanted LIBS), setting it on the make command like like that breaks the
pkgsrc and package logic that manipulates it and produces the build
failure you then saw.
Instead put LIBS.Darwin+= -lmd in the pkgsrc makefile.
(It seems to still be "Darwin", not "MacOS"...)
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index