2004-10-03 02:12:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2004/10/03 00:18:13 tv Exp $
|
2000-12-30 21:12:16 +01:00
|
|
|
#
|
|
|
|
|
2003-11-14 01:42:18 +01:00
|
|
|
DISTNAME= ${PKGNAME_NOREV:S/-//}
|
2000-12-30 21:12:16 +01:00
|
|
|
PKGNAME= sslwrap-206
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 3
|
2000-12-30 21:12:16 +01:00
|
|
|
CATEGORIES= security net
|
2003-11-14 01:42:18 +01:00
|
|
|
MASTER_SITES= http://www.quiltaholic.com/rickk/sslwrap/
|
2000-12-30 21:12:16 +01:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= rh@NetBSD.org
|
2003-11-14 01:42:18 +01:00
|
|
|
HOMEPAGE= http://www.quiltaholic.com/rickk/sslwrap/
|
2003-07-21 19:20:17 +02:00
|
|
|
COMMENT= Simple SSL wrapper
|
2000-12-30 21:12:16 +01:00
|
|
|
|
2004-04-25 05:28:54 +02:00
|
|
|
USE_BUILDLINK3= YES
|
2000-12-30 21:12:16 +01:00
|
|
|
|
2004-02-08 14:44:12 +01:00
|
|
|
OPSYSVARS+= LDADD
|
|
|
|
LDADD.SunOS= -lnsl -lsocket
|
|
|
|
MAKE_ENV+= LDADD="${LDADD}"
|
|
|
|
|
2004-04-25 05:28:54 +02:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2003-09-18 06:09:17 +02:00
|
|
|
|
|
|
|
.if !exists(${BUILDLINK_PREFIX.openssl}/include/openssl/e_os.h)
|
|
|
|
CFLAGS+= -DFLAT_INC
|
|
|
|
.endif
|
|
|
|
|
2003-11-14 01:42:18 +01:00
|
|
|
do-configure:
|
|
|
|
.for f in apps.h s_cb.c s_server.c s_socket.c
|
|
|
|
sed -e 's|OPENSSL"|"openssl/|' ${WRKSRC}/$f > ${WRKSRC}/$f.not && \
|
|
|
|
mv ${WRKSRC}/$f.not ${WRKSRC}/$f
|
|
|
|
.endfor
|
|
|
|
|
2000-12-30 21:12:16 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|