pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openssl Define openssl-fake-pc only once.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ced423adc57a
branches:  trunk
changeset: 394248:ced423adc57a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jun 07 14:24:03 2009 +0000

description:
Define openssl-fake-pc only once.

diffstat:

 security/openssl/builtin.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 934c36706566 -r ced423adc57a security/openssl/builtin.mk
--- a/security/openssl/builtin.mk       Sun Jun 07 14:13:42 2009 +0000
+++ b/security/openssl/builtin.mk       Sun Jun 07 14:24:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.27 2009/06/07 11:06:26 wiz Exp $
+# $NetBSD: builtin.mk,v 1.28 2009/06/07 14:24:03 joerg Exp $
 
 BUILTIN_PKG:=  openssl
 
@@ -251,6 +251,9 @@
 .  if !empty(USE_BUILTIN.openssl:M[Yy][Ee][Ss])
 BUILDLINK_TARGETS+=     openssl-fake-pc
 
+.    if !defined(HAS_OPENSSL_FAKE_PC)
+HAS_OPENSSL_FAKE_PC=
+
 openssl-fake-pc:
        ${RUN} \
        src=${BUILDLINK_PREFIX.openssl}/lib/pkgconfig/libcrypto.pc; \
@@ -294,6 +297,7 @@
                ${ECHO} "Cflags: -I${BUILDLINK_PREFIX.openssl}/include"; \
                } >$${dst}; \
        fi
+.    endif
 .  endif
 
 .endif # CHECK_BUILTIN.openssl



Home | Main Index | Thread Index | Old Index