pkgsrc-WIP-changes archive

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

sra-tools: epoll-shim not needed for Linux



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Sat Aug 12 21:17:35 2023 -0500
Changeset:	3264d95f5fe7156d5c2262011c53c2e9834c7ce2

Modified Files:
	sra-tools/Makefile

Log Message:
sra-tools: epoll-shim not needed for Linux

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

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

diffstat:
 sra-tools/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/sra-tools/Makefile b/sra-tools/Makefile
index 1c9157f081..bee2fc8d5f 100644
--- a/sra-tools/Makefile
+++ b/sra-tools/Makefile
@@ -77,9 +77,15 @@ post-install:
 	${MV} ${DESTDIR}${PREFIX}/share/examples-java ${DESTDIR}${EXAMPLESDIR}/java
 	${MV} ${DESTDIR}${PREFIX}/share/examples-python ${DESTDIR}${EXAMPLESDIR}/python
 
+.include "../../mk/bsd.prefs.mk"
+
+# Shouldn't epoll bl3 check this?
+.if ${OPSYS} != Linux
+.include "../../devel/libepoll-shim/buildlink3.mk"
+.endif
+
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../devel/hdf5/buildlink3.mk"
-.include "../../devel/libepoll-shim/buildlink3.mk"
 .include "../../archivers/zstd/buildlink3.mk"
 .include "../../devel/cmake/build.mk"
 # CentOS doesn't have zlib in the base, so uncomment if needed.


Home | Main Index | Thread Index | Old Index