pkgsrc-WIP-changes archive

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

isa-l: Add Darwin support to install target



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Sun Jun 1 08:22:33 2025 -0500
Changeset:	86ba6c4caa33ef5e766ee5418019886401bdfac8

Modified Files:
	isa-l/Makefile

Log Message:
isa-l: Add Darwin support to install target

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

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

diffstat:
 isa-l/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diffs:
diff --git a/isa-l/Makefile b/isa-l/Makefile
index 11dac5d336..d273914b3a 100644
--- a/isa-l/Makefile
+++ b/isa-l/Makefile
@@ -30,9 +30,15 @@ INSTALL_TARGET=	install-strip
 pre-configure:
 	(cd ${WRKSRC} && autoreconf --install --symlink -f -Wno-obsolete)
 
+.include "../../mk/bsd.prefs.mk"
+
 # FIXME: Why isn't the upstream Makefile installing these??
 post-install:
+.if ${OPSYS} == Darwin
+	${INSTALL_DATA} ${WRKSRC}/.libs/*.dylib ${DESTDIR}${PREFIX}/lib
+.else
 	${INSTALL_DATA} ${WRKSRC}/.libs/*.so* ${DESTDIR}${PREFIX}/lib
+.endif
 	${INSTALL_DATA} ${WRKSRC}/.libs/*.a ${DESTDIR}${PREFIX}/lib
 
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index