mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Put ${.CURDIR}s in front of Makefile.yp and mknetid in the required places.
Also took out uneeded BINDIR & BINMODE stuff.
This commit is contained in:
parent
ef762baa88
commit
4efbdedee3
1 changed files with 5 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# $Id$
|
||||
# $Id: Makefile,v 1.2 1995/02/01 01:59:57 wpaul Exp $
|
||||
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
|
||||
|
||||
PROG= ypserv
|
||||
|
|
@ -7,17 +7,14 @@ SRCS= dnslookup.c yp_svc.c yp_xdr.c server.c
|
|||
CFLAGS+=-Wall -DTCP_WRAPPER=0 -DTCPW_FACILITY=LOG_AUTH
|
||||
CFLAGS+=-DINSTDIR='"/usr/libexec"'
|
||||
|
||||
BINOWN= bin
|
||||
BINMODE=555
|
||||
BINDIR= /usr/sbin
|
||||
MAN8=
|
||||
|
||||
afterinstall: /var/yp/Makefile /usr/libexec/mknetid
|
||||
|
||||
/var/yp/Makefile: Makefile.yp
|
||||
install -c -o bin -g bin -m 444 Makefile.yp /var/yp/Makefile
|
||||
/var/yp/Makefile: ${.CURDIR}/Makefile.yp
|
||||
install -c -o bin -g bin -m 444 ${.CURDIR}/Makefile.yp /var/yp/Makefile
|
||||
|
||||
/usr/libexec/mknetid: mknetid
|
||||
install -c -o bin -g bin -m 555 mknetid /usr/libexec/mknetid
|
||||
/usr/libexec/mknetid: ${.CURDIR}/mknetid
|
||||
install -c -o bin -g bin -m 555 ${.CURDIR}/mknetid /usr/libexec/mknetid
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue