Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jun 1999 14:16:02 -0500
From:      "Richard E. Hawkins" <hawk@eyry.econ.iastate.edu>
To:        freebsd-hackers@freebsd.org
Subject:   edited xcircuit to current version, now what?
Message-ID:  <199906081916.OAA25538@eyry.econ.iastate.edu>

next in thread | raw e-mail | index | archive | help

I've edited the makefile in the portes, and the source, to install 
xcircuit 2.0a10 rather than 1.7 (1.7 can't open its own files, it 
seems).

the old patch-aa was 

*** Imakefile.orig      Thu Mar 12 12:22:41 1998
--- Imakefile   Sun May 17 15:52:05 1998
***************
*** 31,37 ****
  # Change the following as desired to suit your environment:
  #------------------------------------------------------------------------
  #
! PREFIX = /usr/local
  XCIRCUIT_LIB_DIR = $(PREFIX)/lib/xcircuit
  XCIRCUIT_BIN_DIR = $(PREFIX)/bin
  XCIRCUIT_MAN_DIR = $(PREFIX)/man/man1
--- 31,37 ----
  # Change the following as desired to suit your environment:
  #------------------------------------------------------------------------
  #
! PREFIX ?= /usr/local
  XCIRCUIT_LIB_DIR = $(PREFIX)/lib/xcircuit
  XCIRCUIT_BIN_DIR = $(PREFIX)/bin
  XCIRCUIT_MAN_DIR = $(PREFIX)/man/man1


so I put the ? into that line in Imakefile.

Of the second patchfile,  the first patch was already in main, and the 
second added 

   fpsetmask(0) conditionally for freebsd at the beginning of main, so 
I inserted this.  

It compiles & installs, then executes, quite nicely.

I found instructions on what to do with them once I made them, but I'm 
not clear on how to make them.  I need to make a patch against 
/usr/ports/cad/xcircuit/work/xcircuit-2.0a10/xcircuit.c, 
/usr/ports/cad/xcircuit/work/xcircuit-2.0a10/Imakefile,
and  the Makefile.

I presume there's some difference between how I do the first two and 
the third.  And then I expect that there's some kind of CVS meta-patch 
that gets created, cos that a cvsup will update folks port collection?

rick



-- 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906081916.OAA25538>