summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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