For libXaw backward compat links, replace "hardlink to symlink" by "symlink

to symlink" and thus make building on both NetBSD and Linux work again, see
my postings to current-users@ on the problem[1][2].

[1] http://mail-index.netbsd.org/current-users/2008/09/30/msg004940.html
[2] http://mail-index.netbsd.org/current-users/2008/09/30/msg004941.html
This commit is contained in:
hubertf 2008-10-12 20:20:49 +00:00
parent e1ae3c4114
commit b6f7c9c3ef
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2008/09/13 04:32:30 cube Exp $
# $NetBSD: Makefile,v 1.3 2008/10/12 20:20:49 hubertf Exp $
.include <bsd.own.mk>
@ -6,16 +6,16 @@ LIB= Xaw8
LIBOLD= Xaw
.if ${MKSTATICLIB} != "no"
LINKS= ${X11USRLIBDIR}/lib${LIB}.a ${X11USRLIBDIR}/lib${LIBOLD}.a
SYMLINKS= lib${LIB}.a ${X11USRLIBDIR}/lib${LIBOLD}.a
.endif
.if ${MKPROFILE} != "no"
LINKS+= ${X11USRLIBDIR}/lib${LIB}_p.a ${X11USRLIBDIR}/lib${LIBOLD}_p.a
SYMLINKS+= lib${LIB}_p.a ${X11USRLIBDIR}/lib${LIBOLD}_p.a
.endif
.if ${MKPIC} != "no"
LINKS+= ${X11USRLIBDIR}/lib${LIB}.so ${X11USRLIBDIR}/lib${LIBOLD}.so
LINKS+= ${X11USRLIBDIR}/lib${LIB}.so.8 ${X11USRLIBDIR}/lib${LIBOLD}.so.8
SYMLINKS+= lib${LIB}.so ${X11USRLIBDIR}/lib${LIBOLD}.so
SYMLINKS+= lib${LIB}.so.8 ${X11USRLIBDIR}/lib${LIBOLD}.so.8
.endif
.PATH: ${X11SRCDIR.Xaw}/src

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2008/09/13 04:32:30 cube Exp $
# $NetBSD: Makefile,v 1.3 2008/10/12 20:20:49 hubertf Exp $
NOCHECKVER= yes # we want to install an older version ...
MKLINKLIB= no
@ -9,7 +9,7 @@ LIB= Xaw6
LIBOLD= Xaw
.if ${MKPIC} != "no"
LINKS+= ${X11USRLIBDIR}/lib${LIB}.so.6 ${X11USRLIBDIR}/lib${LIBOLD}.so.6
SYMLINKS+= lib${LIB}.so.6 ${X11USRLIBDIR}/lib${LIBOLD}.so.6
.endif
.PATH: ${X11SRCDIR.Xaw}/src

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2008/09/13 04:32:30 cube Exp $
# $NetBSD: Makefile,v 1.3 2008/10/12 20:20:49 hubertf Exp $
.include <bsd.own.mk>
@ -6,7 +6,7 @@ LIB= Xaw7
LIBOLD= Xaw
.if ${MKPIC} != "no"
LINKS+= ${X11USRLIBDIR}/lib${LIB}.so.7 ${X11USRLIBDIR}/lib${LIBOLD}.so.7
SYMLINKS+= lib${LIB}.so.7 ${X11USRLIBDIR}/lib${LIBOLD}.so.7
.endif
.PATH: ${X11SRCDIR.Xaw}/src