diff options
author | christos <christos@pkgsrc.org> | 2007-03-16 17:52:25 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 2007-03-16 17:52:25 +0000 |
commit | b7115c8c13f8d7b90ff5e2a1a4eaa5fd21c8877a (patch) | |
tree | f3811e1948798b996fe64e38192eb76834b936bd /net/uucp/files/uucpd | |
parent | 185782f13af1f9f4a8bae65cde12cfc1cff89ac3 (diff) | |
download | pkgsrc-b7115c8c13f8d7b90ff5e2a1a4eaa5fd21c8877a.tar.gz |
Adjust ${PREFIX} dynamically so that man pages and programs work properly.
Diffstat (limited to 'net/uucp/files/uucpd')
-rw-r--r-- | net/uucp/files/uucpd/Makefile | 4 | ||||
-rw-r--r-- | net/uucp/files/uucpd/pathnames.h | 4 | ||||
-rw-r--r-- | net/uucp/files/uucpd/uucpd.8 | 4 |
3 files changed, 7 insertions, 5 deletions
diff --git a/net/uucp/files/uucpd/Makefile b/net/uucp/files/uucpd/Makefile index 318c3b7fdd1..a655c95a17b 100644 --- a/net/uucp/files/uucpd/Makefile +++ b/net/uucp/files/uucpd/Makefile @@ -1,8 +1,10 @@ -# $NetBSD: Makefile,v 1.1 2007/03/15 20:02:20 christos Exp $ +# $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 diff --git a/net/uucp/files/uucpd/pathnames.h b/net/uucp/files/uucpd/pathnames.h index 41ec17b86d6..a10ef6cf61e 100644 --- a/net/uucp/files/uucpd/pathnames.h +++ b/net/uucp/files/uucpd/pathnames.h @@ -1,4 +1,4 @@ -/* $NetBSD: pathnames.h,v 1.1 2007/03/15 20:02:20 christos Exp $ */ +/* $NetBSD: pathnames.h,v 1.2 2007/03/16 17:52:30 christos Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -33,4 +33,4 @@ #include <paths.h> -#define _PATH_UUCICO "/usr/libexec/uucp/uucico" +#define _PATH_UUCICO "@PREFIX@/libexec/uucp/uucico" diff --git a/net/uucp/files/uucpd/uucpd.8 b/net/uucp/files/uucpd/uucpd.8 index 301d77a9809..cf322204436 100644 --- a/net/uucp/files/uucpd/uucpd.8 +++ b/net/uucp/files/uucpd/uucpd.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: uucpd.8,v 1.1 2007/03/15 20:02:20 christos Exp $ +.\" $NetBSD: uucpd.8,v 1.2 2007/03/16 17:52:30 christos Exp $ .\" .\" Copyright (c) 1998 Matthew R. Green .\" All rights reserved. @@ -48,7 +48,7 @@ file transfer daemon, if the following conditions are met: the username and password match a valid account .It the accounts shell is -.Dq /usr/libexec/uucp/uucico . +.Dq @PREFIX@/libexec/uucp/uucico . .El .Pp .Nm |