summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryasuoka <yasuoka@openbsd.org>2012-11-28 08:06:01 +0000
committeryasuoka <yasuoka@openbsd.org>2012-11-28 08:06:01 +0000
commit98f88edee8d79ebe2ff152e0415de579e79f3f04 (patch)
treeffa95ba4b987b9379d97374477d9b2910f779807
parentDefault LIBTOOL is /usr/bin/libtool. (diff)
downloadwireguard-openbsd-98f88edee8d79ebe2ff152e0415de579e79f3f04.tar.xz
wireguard-openbsd-98f88edee8d79ebe2ff152e0415de579e79f3f04.zip
Including ../../Makefile.inc was loop when npppd/obj is not a symbolic link.
Delete Makefile.inc and define BINDIR at npppd/Makefile directly.
-rw-r--r--usr.sbin/npppd/Makefile.inc8
-rw-r--r--usr.sbin/npppd/npppd/Makefile3
2 files changed, 2 insertions, 9 deletions
diff --git a/usr.sbin/npppd/Makefile.inc b/usr.sbin/npppd/Makefile.inc
deleted file mode 100644
index cf6e9603b5c..00000000000
--- a/usr.sbin/npppd/Makefile.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-# $OpenBSD: Makefile.inc,v 1.3 2012/05/08 13:15:11 yasuoka Exp $
-# $Id: Makefile.inc,v 1.3 2012/05/08 13:15:11 yasuoka Exp $
-
-.include <bsd.own.mk>
-
-.if exists(${.CURDIR}/../../Makefile.inc)
-.include "../../Makefile.inc"
-.endif
diff --git a/usr.sbin/npppd/npppd/Makefile b/usr.sbin/npppd/npppd/Makefile
index 236ba4df568..8c894d22c3d 100644
--- a/usr.sbin/npppd/npppd/Makefile
+++ b/usr.sbin/npppd/npppd/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.14 2012/11/13 17:10:40 yasuoka Exp $
+# $OpenBSD: Makefile,v 1.15 2012/11/28 08:06:01 yasuoka Exp $
NPPPD_COMMON_DIR= ${.CURDIR}/../common
+BINDIR= /usr/sbin
PROG= npppd
MAN= npppd.8 npppd.conf.5 npppd-users.5
CPPFLAGS+= -I${NPPPD_COMMON_DIR} -I${.CURDIR}