Module Name: src
Committed By: he
Date: Sat Apr 16 18:41:59 UTC 2011
Modified Files:
src/crypto/external/bsd/heimdal: Makefile.inc
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/crypto/external/bsd/heimdal/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/heimdal/Makefile.inc
diff -u src/crypto/external/bsd/heimdal/Makefile.inc:1.1 src/crypto/external/bsd/heimdal/Makefile.inc:1.2
--- src/crypto/external/bsd/heimdal/Makefile.inc:1.1 Wed Apr 13 19:16:44 2011
+++ src/crypto/external/bsd/heimdal/Makefile.inc Sat Apr 16 18:41:58 2011
@@ -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}