Add OpenBSD build support
This commit is contained in:
parent
09bc8205a9
commit
e8ede338eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38663
@ -1,14 +1,20 @@
|
||||
LIB= alias
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 5
|
||||
CFLAGS+=-Wall -I${.CURDIR}
|
||||
SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
|
||||
alias_nbt.c alias_old.c alias_util.c
|
||||
|
||||
MAN3=libalias.3
|
||||
OPSYS!= uname -s
|
||||
.if (${OPSYS} == "OpenBSD")
|
||||
MAN= libalias.3
|
||||
CFLAGS+= -DNO_FW_PUNCH
|
||||
.else
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 5
|
||||
MAN3= libalias.3
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/alias.h \
|
||||
${DESTDIR}/usr/include
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -1,14 +1,20 @@
|
||||
LIB= alias
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 5
|
||||
CFLAGS+=-Wall -I${.CURDIR}
|
||||
SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
|
||||
alias_nbt.c alias_old.c alias_util.c
|
||||
|
||||
MAN3=libalias.3
|
||||
OPSYS!= uname -s
|
||||
.if (${OPSYS} == "OpenBSD")
|
||||
MAN= libalias.3
|
||||
CFLAGS+= -DNO_FW_PUNCH
|
||||
.else
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 5
|
||||
MAN3= libalias.3
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/alias.h \
|
||||
${DESTDIR}/usr/include
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.44 1998/06/27 14:17:22 brian Exp $
|
||||
# $Id: Makefile,v 1.45 1998/08/07 18:42:47 brian Exp $
|
||||
|
||||
PROG= ppp
|
||||
SRCS= arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c command.c \
|
||||
@ -31,10 +31,16 @@ CFLAGS+=-DNOALIAS
|
||||
.else
|
||||
.if !defined(RELEASE_CRUNCH)
|
||||
SRCS+= alias_cmd.c
|
||||
.if (${OPSYS} == "OpenBSD")
|
||||
CFLAGS+=-I../libalias
|
||||
LDADD+= ../libalias/libalias.a
|
||||
DPADD+= ../libalias/libalias.a
|
||||
.else
|
||||
LDADD+= -lalias
|
||||
DPADD+= ${LIBALIAS}
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH)
|
||||
DISTRIBUTION=des
|
||||
|
Loading…
Reference in New Issue
Block a user