Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 1997 16:19:22 -0400
From:      Eric Jones <ejon@pencom.com>
To:        freebsd-current@freebsd.org
Subject:   include Makefile - am I the only one having trouble with this?
Message-ID:  <33F75CCA.99CEA3A@pencom.com>

next in thread | raw e-mail | index | archive | help
My make worlds stopped working a month or more ago when trying to 
install osreldate.h.  I figured the problwm was obvious and it would get
fixed soon, but since it hasn't I'm wondering if it's something I've
screwed
up.
	It looks to me like the SRCDIR/include makefile is building osreldate.h
into ${.CURDIR}, but the install occurs from ${.CURDIR}/rpc.  Did
everybody else
just stuff a copy of osreldate.h into include/rpc?

Included below is my patch for this:

*** Makefile    Sat Aug 16 10:25:00 1997
--- Makefile.orig       Sat Aug  2 15:43:02 1997
***************
*** 74,87 ****
        cd ${.CURDIR}/protocols; \
                ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
                ${PROTOFILES} ${DESTDIR}/usr/include/protocols
        cd ${.CURDIR}/rpc; \
                ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
                ${RPCFILES} ${DESTDIR}/usr/include/rpc
!       cd ${.CURDIR}; \
!               ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444
osreldate.h \
                ${DESTDIR}/usr/include
  .for i in ${LFILES}
        ln -sf sys/$i ${DESTDIR}/usr/include/$i
  .endfor
  .for i in ${MFILES}
        ln -sf machine/$i ${DESTDIR}/usr/include/$i
--- 74,86 ----
        cd ${.CURDIR}/protocols; \
                ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
                ${PROTOFILES} ${DESTDIR}/usr/include/protocols
        cd ${.CURDIR}/rpc; \
                ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
                ${RPCFILES} ${DESTDIR}/usr/include/rpc
!       ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 osreldate.h \
                ${DESTDIR}/usr/include
  .for i in ${LFILES}
        ln -sf sys/$i ${DESTDIR}/usr/include/$i
  .endfor
  .for i in ${MFILES}
        ln -sf machine/$i ${DESTDIR}/usr/include/$i



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33F75CCA.99CEA3A>