0fb9e7d14c
- using PKGNAME_NOREV as the basis for the DISTFILE - correcting/updating the MASTER_SITES and HOMEPAGE - patching instead of using -DOPENSSL="\"openssl\"", since apparently #include "openssl/""foo.h" is no good (gcc-3 issue?)
28 lines
689 B
Makefile
28 lines
689 B
Makefile
# $NetBSD: Makefile,v 1.12 2003/11/14 00:42:18 jschauma Exp $
|
|
#
|
|
|
|
DISTNAME= ${PKGNAME_NOREV:S/-//}
|
|
PKGNAME= sslwrap-206
|
|
PKGREVISION= 1
|
|
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
|
|
|
|
USE_BUILDLINK2= YES
|
|
|
|
.include "../../security/openssl/buildlink2.mk"
|
|
|
|
.if !exists(${BUILDLINK_PREFIX.openssl}/include/openssl/e_os.h)
|
|
CFLAGS+= -DFLAT_INC
|
|
.endif
|
|
|
|
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
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|