minix/lib/libterminfo/minix-port.patch

26 lines
556 B
Diff
Raw Normal View History

diff -ru nbsdsrc/src/lib/libterminfo/Makefile lib/libterminfo/Makefile
--- nbsdsrc/src/lib/libterminfo/Makefile
+++ lib/libterminfo/Makefile
@@ -1,6 +1,11 @@
# $NetBSD: Makefile,v 1.12 2010/07/06 05:59:53 mrg Exp $
+.if defined(__MINIX)
+.include "minix-config.inc"
+USE_SHLIBDIR= no
+.else
USE_SHLIBDIR= yes
+.endif
LIB= terminfo
WARNS= 4
@@ -54,7 +59,9 @@
gen: hash compiled_terms man
.include <bsd.own.mk>
+.if !defined(__MINIX)
.include <bsd.shlib.mk>
+.endif
.if ${MKLINKLIB} != "no"
SYMLINKS+= libterminfo.a ${LIBDIR}/libtermcap.a