From owner-freebsd-ports Thu Jun 10 11:36:37 1999 Delivered-To: freebsd-ports@freebsd.org Received: from eyry.econ.iastate.edu (eyry.econ.iastate.edu [129.186.32.221]) by hub.freebsd.org (Postfix) with ESMTP id DF9B414D57 for ; Thu, 10 Jun 1999 11:36:32 -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 NAA53455 for ; Thu, 10 Jun 1999 13:36:54 -0500 (CDT) (envelope-from hawk@eyry.econ.iastate.edu) Message-Id: <199906101836.NAA53455@eyry.econ.iastate.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-ports@freebsd.org Subject: edited xcircuit to current version, now what? Date: Thu, 10 Jun 1999 13:36:54 -0500 From: "Richard E. Hawkins" Sender: owner-freebsd-ports@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-ports" in the body of the message