pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/inspircd Make sure the pkgconfig directory exists...
details: https://anonhg.NetBSD.org/pkgsrc/rev/64dd58f25ce0
branches: trunk
changeset: 544539:64dd58f25ce0
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Tue Jul 15 11:48:34 2008 +0000
description:
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:
chat/inspircd/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r dee732756c5e -r 64dd58f25ce0 chat/inspircd/Makefile
--- a/chat/inspircd/Makefile Tue Jul 15 11:34:09 2008 +0000
+++ b/chat/inspircd/Makefile Tue Jul 15 11:48:34 2008 +0000
@@ -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 @@
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 @@
.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)
Home |
Main Index |
Thread Index |
Old Index