TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: All
from: andrew clarke
date: 2003-12-06 03:34:38
subject: huskylib makefile.bsd4 broken - patch

Sat 2003-12-06 03:16, andrew clarke (3:633/267) wrote to All:

 ac>> 16:33 fidonet{at}blizzard [~/src/huskylib/make]make -f makefile.bsd4
 ac>> Warning: Object directory not changed from original
 ac>> /usr/home/fidonet/src/huskylib/make building static husky library
 ac>> /usr/libexec/elf/nm: adcase: No such file or directory

Well, it turns out VPATH was the main fix, but CFLAGS had to be amended
too, although I'm not sure why the -c was necessary.  Anyway, this is
probably redundant seeing makefile.bsd works, but FWIW, here's the patch
anyway:

Index: makefile.bsd4
===================================================================
RCS file: /cvsroot/husky/huskylib/make/makefile.bsd4,v
retrieving revision 1.2
diff -c -r1.2 makefile.bsd4
*** makefile.bsd4       9 Mar 2003 18:51:21 -0000       1.2
--- makefile.bsd4       5 Dec 2003 16:30:51 -0000
***************
*** 11,19 ****
--- 11,21 ----
  prefix=       /usr/local
  LIBDIR=       $(prefix)/lib
  CFLAGS=       -Wall -O3
+ VPATH=                $(SRC_DIR)
  
  .include 
  
+ CFLAGS+=      -I$(H_DIR) -c
  LIB=          $(LIBNAME)
  SHLIB_MAJOR=  $(VERMAJOR)
  SHLIB_MINOR=  $(VERMAJOR).$(VERMINOR)

-- mail{at}ozzmosis.com

--- timEd/FreeBSD 1.11.b1
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
SEEN-BY: 633/267 270
@PATH: 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.