summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-08-31 00:43:54 +0000
committerderaadt <deraadt@openbsd.org>1998-08-31 00:43:54 +0000
commit3f5361edad64ad09375a0b8c0ee803c7dbc8b2a3 (patch)
tree3bb71d0c413282c083785143224afc165943ebf6
parentppp 1.65 -> 2.0 (diff)
downloadwireguard-openbsd-3f5361edad64ad09375a0b8c0ee803c7dbc8b2a3.tar.xz
wireguard-openbsd-3f5361edad64ad09375a0b8c0ee803c7dbc8b2a3.zip
mostly fix build problems
-rw-r--r--usr.sbin/ppp/libalias/Makefile2
-rw-r--r--usr.sbin/ppp/ppp/Makefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/libalias/Makefile b/usr.sbin/ppp/libalias/Makefile
index 10f33d2d2b2..f6c7862c0d7 100644
--- a/usr.sbin/ppp/libalias/Makefile
+++ b/usr.sbin/ppp/libalias/Makefile
@@ -7,6 +7,8 @@ OPSYS!= uname -s
.if (${OPSYS} == "OpenBSD")
MAN= libalias.3
CFLAGS+= -DNO_FW_PUNCH
+NOPROFILE=
+NOPIC=
.else
SHLIB_MAJOR= 2
SHLIB_MINOR= 5
diff --git a/usr.sbin/ppp/ppp/Makefile b/usr.sbin/ppp/ppp/Makefile
index 25f289a2258..b85fbf6add6 100644
--- a/usr.sbin/ppp/ppp/Makefile
+++ b/usr.sbin/ppp/ppp/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1 1998/08/31 00:22:14 brian Exp $
+# $Id: Makefile,v 1.2 1998/08/31 00:43:56 deraadt Exp $
PROG= ppp
SRCS= arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c command.c \
@@ -32,7 +32,7 @@ CFLAGS+=-DNOALIAS
.if !defined(RELEASE_CRUNCH)
SRCS+= alias_cmd.c
.if (${OPSYS} == "OpenBSD")
-CFLAGS+=-I../libalias
+CFLAGS+=-I${.CURDIR}/../libalias
LDADD+= ../libalias/libalias.a
DPADD+= ../libalias/libalias.a
.else