pkgsrc-WIP-changes archive

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

biolibc: Add Darwin dylib support



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Tue May 18 10:47:09 2021 -0500
Changeset:	20eb1c16d3c0c3bafc972f184502d0615baa83cf

Modified Files:
	biolibc/Makefile

Log Message:
biolibc: Add Darwin dylib support

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=20eb1c16d3c0c3bafc972f184502d0615baa83cf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 biolibc/Makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diffs:
diff --git a/biolibc/Makefile b/biolibc/Makefile
index 3876880692..56e57fca1f 100644
--- a/biolibc/Makefile
+++ b/biolibc/Makefile
@@ -12,6 +12,18 @@ LICENSE=	2-clause-bsd
 
 INSTALL_TARGET=	install-strip
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == Darwin
+# For $(shell realpath ...).  != doesn't work in Apple's make.
+USE_TOOLS=	gmake
+BUILD_DEPENDS=	realpath>0:../../wip/realpath
+BUILD_TARGET=	apple
+INSTALL_TARGET=	apple-install
+.else
+INSTALL_TARGET=	install-strip
+.endif
+
 pre-build:
 	cd ${WRKSRC} && ${MAKE} PREFIX=${PREFIX} depend
 


Home | Main Index | Thread Index | Old Index