diff options
author | jlam <jlam@pkgsrc.org> | 2007-06-18 14:45:28 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-06-18 14:45:28 +0000 |
commit | dd3bd1cc5ee048e4be5244f206fe2a511007cfce (patch) | |
tree | b6031db2368074affcb4ba070999768c30aa08ef /net/uucp/files/uucpd | |
parent | 688e6690370cf9f61837b6c4402beacaf2e646c3 (diff) | |
download | pkgsrc-dd3bd1cc5ee048e4be5244f206fe2a511007cfce.tar.gz |
* Use subst framework instead of custom code for replacing rmail and
uucpd Makefiles.
* Modify rmail and uucpd makefiles to be standalone instead of requiring
BSD make.
* Fix build on MacOS X where libcrypt and libutil don't exist.
* Fix build on MacOS X and older NetBSDs that don't support utmpx.
* Install the example UUCP /etc snippets into the examples directory
for the benefit of binary package users.
* Sort the PLIST.
Bump PKGREVISION to 4.
Diffstat (limited to 'net/uucp/files/uucpd')
-rw-r--r-- | net/uucp/files/uucpd/Makefile | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/net/uucp/files/uucpd/Makefile b/net/uucp/files/uucpd/Makefile index a655c95a17b..f2a34f750e0 100644 --- a/net/uucp/files/uucpd/Makefile +++ b/net/uucp/files/uucpd/Makefile @@ -1,12 +1,23 @@ -# $NetBSD: Makefile,v 1.2 2007/03/16 17:52:30 christos Exp $ -# from: @(#)Makefile 8.1 (Berkeley) 6/4/93 - -PROG= uucpd -MAN= uucpd.8 -BINDIR= @PREFIX@/libexec -MANDIR= @PREFIX@/man -LDADD+= -lcrypt -lutil -DPADD+= ${LIBCRYPT} ${LIBUTIL} -CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX - -.include <bsd.prog.mk> +# $NetBSD: Makefile,v 1.3 2007/06/18 14:45:29 jlam Exp $ + +PROG= uucpd +MAN= uucpd.8 +BINDIR= @PREFIX@/libexec +MANDIR= @PREFIX@/@PKGMANDIR@ +CPPFLAGS+= @UUCPD_CPPFLAGS@ +LIBS+= @UUCPD_LIBS@ + +SRCS= uucpd.c +OBJS= uucpd.o + +all: ${PROG} + +install: all + @INSTALL_PROGRAM@ ${PROG} ${BINDIR}/${PROG} + @INSTALL_MAN@ ${MAN} ${MANDIR}/man8 + +.c.o: + ${CC} ${CPPFLAGS} ${CFLAGS} -c $< + +${PROG}: ${OBJS} + ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} |