summaryrefslogtreecommitdiff
path: root/chat/inspircd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chat/inspircd/Makefile')
-rw-r--r--chat/inspircd/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/chat/inspircd/Makefile b/chat/inspircd/Makefile
index 8798d4441ec..20e79ad04a8 100644
--- a/chat/inspircd/Makefile
+++ b/chat/inspircd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/06/14 13:07:51 adrianp Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/14 14:30:23 adrianp Exp $
#
DISTNAME= InspIRCd-1.1.20
@@ -101,14 +101,16 @@ CHECK_BUILTIN.openssl:=no
post-extract:
${MV} ${WRKDIR}/inspircd ${WRKDIR}/${DISTNAME:S/InspIRCd/inspircd/}
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
- ${CP} ${FILESDIR}/openssl.pc ${WRKSRC}
-SUBST_FILES.conf+= openssl.pc
+ ${CP} ${FILESDIR}/openssl.pc ${WRKSRC}/openssl.pc
+SUBST_FILES.conf+= ${WRKSRC}/openssl.pc
SUBST_SED.conf+= -e "s|@SSLBASE@|${BUILDLINK_PREFIX.openssl}|g"
SUBST_SED.conf+= -e "s|@SSLVER@|${BUILTIN_VERSION.openssl}|g"
-CONFIGURE_ENV+= PKG_CONFIG_PATH=${WRKSRC:Q}
.endif
pre-configure:
+.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
+ ${CP} ${WRKSRC}/openssl.pc ${BUILDLINK_DIR}/lib/pkgconfig
+.endif
.if defined(MODULES)
. for f in ${MODULES}
${CP} ${EXTRA}/${f} ${WRKSRC}/src/modules/${f}