diff options
author | adrianp <adrianp@pkgsrc.org> | 2008-07-15 11:48:34 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2008-07-15 11:48:34 +0000 |
commit | 837720b3462c8486cc4edf3840ee1141a9e4f9bb (patch) | |
tree | cc42f5ad07207a93d965ea8be8ed09d513b89922 /chat/inspircd | |
parent | d86299f546064c29b913b9021cbd7ae0fe699598 (diff) | |
download | pkgsrc-837720b3462c8486cc4edf3840ee1141a9e4f9bb.tar.gz |
Make sure the pkgconfig directory exists before we try and copy a file there
Don't bother doing any SSL magic if the user hasn't set the SSL option
Diffstat (limited to 'chat/inspircd')
-rw-r--r-- | chat/inspircd/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chat/inspircd/Makefile b/chat/inspircd/Makefile index 20e79ad04a8..8a5a712304b 100644 --- a/chat/inspircd/Makefile +++ b/chat/inspircd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2008/06/14 14:30:23 adrianp Exp $ +# $NetBSD: Makefile,v 1.15 2008/07/15 11:48:34 adrianp Exp $ # DISTNAME= InspIRCd-1.1.20 @@ -100,7 +100,7 @@ CHECK_BUILTIN.openssl:=no post-extract: ${MV} ${WRKDIR}/inspircd ${WRKDIR}/${DISTNAME:S/InspIRCd/inspircd/} -.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) +.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && !empty(PKG_OPTIONS:Mssl) ${CP} ${FILESDIR}/openssl.pc ${WRKSRC}/openssl.pc SUBST_FILES.conf+= ${WRKSRC}/openssl.pc SUBST_SED.conf+= -e "s|@SSLBASE@|${BUILDLINK_PREFIX.openssl}|g" @@ -108,7 +108,8 @@ SUBST_SED.conf+= -e "s|@SSLVER@|${BUILTIN_VERSION.openssl}|g" .endif pre-configure: -.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) +.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && !empty(PKG_OPTIONS:Mssl) + ${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig ${CP} ${WRKSRC}/openssl.pc ${BUILDLINK_DIR}/lib/pkgconfig .endif .if defined(MODULES) |