summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-08-31 00:43:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-08-31 00:43:57 +0000
commit5405c970408194adf4ce9be6c3f8f9c9a288f5bc (patch)
tree7d0074454e265db2f8239ea62d35a0c3eeb4d317
parent71b35d655d2b9294c7f8e52283e5c9ec99ecb209 (diff)
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