summaryrefslogtreecommitdiff
path: root/security/sslwrap/Makefile
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-09-18 04:09:17 +0000
committerjmc <jmc@pkgsrc.org>2003-09-18 04:09:17 +0000
commitfbab44e3b98fb10fc3a223f9677e43b331fad9dc (patch)
tree259838e02834eff8b58a45bc7b2051aae8e8efe3 /security/sslwrap/Makefile
parent071a79a015f64875f7e6b9c68cd10dad1688e0ae (diff)
downloadpkgsrc-fbab44e3b98fb10fc3a223f9677e43b331fad9dc.tar.gz
Make this work with 0.9.7 openssl (and other non-pkgsrc installed nbsd versions
Diffstat (limited to 'security/sslwrap/Makefile')
-rw-r--r--security/sslwrap/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/sslwrap/Makefile b/security/sslwrap/Makefile
index 6c979c221ac..30cea7509bb 100644
--- a/security/sslwrap/Makefile
+++ b/security/sslwrap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/07/21 17:20:37 martti Exp $
+# $NetBSD: Makefile,v 1.10 2003/09/18 04:09:17 jmc Exp $
#
DISTNAME= ${PKGNAME:S/-//}
@@ -13,4 +13,9 @@ 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
+
.include "../../mk/bsd.pkg.mk"