pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/nologinmsg Make this build and install under Li...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2c65048fb0ee
branches: trunk
changeset: 479804:2c65048fb0ee
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sun Aug 22 23:59:59 2004 +0000
description:
Make this build and install under Linux and IRIX, using ideas from
Roland Illig in PR pkg/26604.
diffstat:
shells/nologinmsg/Makefile | 13 ++++++++++++-
shells/nologinmsg/distinfo | 3 ++-
2 files changed, 14 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r 8abea2bd190b -r 2c65048fb0ee shells/nologinmsg/Makefile
--- a/shells/nologinmsg/Makefile Sun Aug 22 23:30:18 2004 +0000
+++ b/shells/nologinmsg/Makefile Sun Aug 22 23:59:59 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/04/18 04:28:39 snj Exp $
+# $NetBSD: Makefile,v 1.3 2004/08/22 23:59:59 jschauma Exp $
# FreeBSD Id: ports/shells/nologinmsg/Makefile,v 1.3 2003/02/21 13:26:58 knu Exp
DISTNAME= nologinmsg-1.0
@@ -10,6 +10,9 @@
COMMENT= More functional native binary replacement for /sbin/nologin
USE_BUILDLINK3= yes
+LIBS.Linux+= -lnbcompat
+LIBS.IRIX+= -lnbcompat
+MAKE_FLAGS+= LDADD="${LIBS:Q}"
post-patch:
${MV} ${WRKSRC}/nologinmsg.8 ${WRKSRC}/nologinmsg.8.1
@@ -19,4 +22,12 @@
${SED} -e 's|/usr/local/etc|${PKG_SYSCONFDIR}|g' \
${WRKSRC}/pathnames.h.1 > ${WRKSRC}/pathnames.h
+.include "../../mk/bsd.prefs.mk"
+# XXX: ${OPSYS} != "NetBSD" ?
+.if ${OPSYS} == "Linux" || ${OPSYS} == "IRIX"
+MAKE_FLAGS+= NOMAN=YES
+CFLAGS+= -D__LIBNBCOMPAT
+. include "../../pkgtools/libnbcompat/buildlink3.mk"
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff -r 8abea2bd190b -r 2c65048fb0ee shells/nologinmsg/distinfo
--- a/shells/nologinmsg/distinfo Sun Aug 22 23:30:18 2004 +0000
+++ b/shells/nologinmsg/distinfo Sun Aug 22 23:59:59 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/01/10 17:05:44 cjep Exp $
+$NetBSD: distinfo,v 1.2 2004/08/22 23:59:59 jschauma Exp $
SHA1 (nologinmsg-1.0.tar.gz) = 2271adfc47985db5e9c3c17f885dd9f728596157
Size (nologinmsg-1.0.tar.gz) = 2954 bytes
SHA1 (patch-aa) = 926105531543916c9d183bcc964f15fdd136d6c6
+SHA1 (patch-ab) = 7470dabc1a4bdf532a847a5dfdd0b04645a9c399
Home |
Main Index |
Thread Index |
Old Index