Source-Changes-HG archive

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

[src/trunk]: src/crypto/external/bsd/heimdal Some ports don't (need to) const...



details:   https://anonhg.NetBSD.org/src/rev/f36c6a8bc10c
branches:  trunk
changeset: 764329:f36c6a8bc10c
user:      he <he%NetBSD.org@localhost>
date:      Sat Apr 16 18:41:58 2011 +0000

description:
Some ports don't (need to) construct separate _pic libraries, so where
MKPICLIB != "yes", refer to libipc.a instead of libipc_pic.a.
Fixes the build for mips and vax.

diffstat:

 crypto/external/bsd/heimdal/Makefile.inc |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r af5018892abd -r f36c6a8bc10c crypto/external/bsd/heimdal/Makefile.inc
--- a/crypto/external/bsd/heimdal/Makefile.inc  Sat Apr 16 17:45:44 2011 +0000
+++ b/crypto/external/bsd/heimdal/Makefile.inc  Sat Apr 16 18:41:58 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2011/04/13 19:16:44 elric Exp $
+# $NetBSD: Makefile.inc,v 1.2 2011/04/16 18:41:58 he Exp $
 
 HEIMBASE?=     ${NETBSDSRCDIR}/crypto/external/bsd/heimdal
 HEIMDIST=      ${HEIMBASE}/dist
@@ -10,7 +10,11 @@
 
 LIBIPCDIR!=    cd ${HEIMBASE}/lib/libipc && ${PRINTOBJDIR}
 LIBIPC=                ${LIBIPCDIR}/libipc.a
+.if ${MKPICLIB} != "yes"
+LIBIPC_PIC=    ${LIBIPCDIR}/libipc.a
+.else
 LIBIPC_PIC=    ${LIBIPCDIR}/libipc_pic.a
+.endif
 
 .if ${USETOOLS} != "yes"
 COMPILEETOBJ!=     cd ${HEIMBASE}/lib/libcom_err/compile_et && ${PRINTOBJDIR}



Home | Main Index | Thread Index | Old Index