From owner-freebsd-hackers Tue Jun 8 12:15:58 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from eyry.econ.iastate.edu (eyry.econ.iastate.edu [129.186.32.221]) by hub.freebsd.org (Postfix) with ESMTP id 44FC514C12 for ; Tue, 8 Jun 1999 12:15:55 -0700 (PDT) (envelope-from hawk@eyry.econ.iastate.edu) Received: from eyry.econ.iastate.edu (localhost [127.0.0.1]) by eyry.econ.iastate.edu (8.9.3/8.9.3) with ESMTP id OAA25538 for ; Tue, 8 Jun 1999 14:16:02 -0500 (CDT) (envelope-from hawk@eyry.econ.iastate.edu) Message-Id: <199906081916.OAA25538@eyry.econ.iastate.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-hackers@freebsd.org Subject: edited xcircuit to current version, now what? Reply-To: f@eyry.econ.iastate.edu, hawk@eyry.econ.iastate.edu Date: Tue, 08 Jun 1999 14:16:02 -0500 From: "Richard E. Hawkins" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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