b71a1d488b
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
33 lines
852 B
Makefile
33 lines
852 B
Makefile
# $NetBSD: Makefile,v 1.19 2005/12/05 20:50:58 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= ${PKGNAME_NOREV:S/-//}
|
|
PKGNAME= sslwrap-206
|
|
PKGREVISION= 3
|
|
CATEGORIES= security net
|
|
MASTER_SITES= http://www.quiltaholic.com/rickk/sslwrap/
|
|
|
|
MAINTAINER= rh@NetBSD.org
|
|
HOMEPAGE= http://www.quiltaholic.com/rickk/sslwrap/
|
|
COMMENT= Simple SSL wrapper
|
|
|
|
|
|
OPSYSVARS+= LDADD
|
|
LDADD.SunOS= -lnsl -lsocket
|
|
MAKE_ENV+= LDADD=${LDADD:Q}
|
|
MAKE_ENV+= BINOWN=${BINOWN:Q}
|
|
MAKE_ENV+= BINGRP=${BINGRP:Q}
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.if !exists(${BUILDLINK_PREFIX.openssl}/include/openssl/e_os.h)
|
|
CFLAGS+= -DFLAT_INC
|
|
.endif
|
|
|
|
SUBST_CLASSES+= sslwrap
|
|
SUBST_MESSAGE.sslwrap= Adjusting the path for include files
|
|
SUBST_STAGE.sslwrap= do-configure
|
|
SUBST_FILES.sslwrap= apps.h s_cb.c s_server.c s_socket.c
|
|
SUBST_SED.sslwrap= -e 's|OPENSSL"|"openssl/|'
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|