diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-08-22 23:59:59 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-08-22 23:59:59 +0000 |
commit | 2646be05dddc0f602d7a4702c786162c03a1e409 (patch) | |
tree | 1d5197c9067175660572c25604e6303990315c3e /shells | |
parent | 108c384fa2df33abbfa4fb398409b75c475994aa (diff) | |
download | pkgsrc-2646be05dddc0f602d7a4702c786162c03a1e409.tar.gz |
Make this build and install under Linux and IRIX, using ideas from
Roland Illig in PR pkg/26604.
Diffstat (limited to 'shells')
-rw-r--r-- | shells/nologinmsg/Makefile | 13 | ||||
-rw-r--r-- | shells/nologinmsg/distinfo | 3 |
2 files changed, 14 insertions, 2 deletions
diff --git a/shells/nologinmsg/Makefile b/shells/nologinmsg/Makefile index 27a3e914c2b..02426e06f75 100644 --- a/shells/nologinmsg/Makefile +++ b/shells/nologinmsg/Makefile @@ -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 @@ MAINTAINER= cjep@NetBSD.org 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 @@ post-patch: ${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 --git a/shells/nologinmsg/distinfo b/shells/nologinmsg/distinfo index 0ca3b39734f..b8b060ff600 100644 --- a/shells/nologinmsg/distinfo +++ b/shells/nologinmsg/distinfo @@ -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 |