tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: devel/gobject-introspection + MacOS
> On Aug 13, 2020, at 9:38 AM, Jonathan Perkin <jperkin%joyent.com@localhost> wrote:
>
> On macOS /tmp is a symlink to private/tmp, and you can see in the
> output you posted originally that some bits are using /private/tmp and
> some bits are using /tmp. This breaks the wrappers.
>
> You cannot set WRKOBJDIR to a path containing a symlink, so if you
> want to use /tmp then you'll need to ensure it's using e.g.
> /private/tmp/pkgsrc
Of course. I keep forgetting about the silly idiosyncrasies with MacOS. Thanks for reminding me.
Fixing WRKOBJDIR was not sufficient, though. I had to add the following patch.
RCS file: /cvsroot/pkgsrc/devel/gobject-introspection/Makefile,v
retrieving revision 1.71
diff -u -r1.71 Makefile
--- Makefile 4 Jul 2020 10:04:46 -0000 1.71
+++ Makefile 13 Aug 2020 18:09:58 -0000
@@ -38,6 +38,8 @@
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/girepository
+BUILDLINK_PASSTHRU_DIRS+= ${WRKSRC}/girepository
+
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.58.0
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libffi+= libffi>=3.0.0
Should this be committed either unconditionally as here or conditional on Darwin?
Cheers,
Brook
Home |
Main Index |
Thread Index |
Old Index