From owner-freebsd-bugs Fri Jul 16 20: 0: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D1F4B14FD9 for ; Fri, 16 Jul 1999 20:00:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA08914; Fri, 16 Jul 1999 20:00:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 7727314F87; Fri, 16 Jul 1999 19:52:03 -0700 (PDT) Message-Id: <19990717025203.7727314F87@hub.freebsd.org> Date: Fri, 16 Jul 1999 19:52:03 -0700 (PDT) From: jobaldwi@vt.edu To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/12675: [PATCH] textproc/sp port installs config.h and config.h.orig Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12675 >Category: misc >Synopsis: [PATCH] textproc/sp port installs config.h and config.h.orig >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 16 20:00:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: John Baldwin >Release: n/a >Organization: >Environment: n/a >Description: The textproc/sp accidentally installs both config.h, and the original, unpatched config.h.orig into ${PREFIX}/include/sp >How-To-Repeat: fgrep .orig textproc/sp/pkg/PLIST; or install the port and look in ${PREFIX}/include/sp for config.h.orig >Fix: Apply these patches to the Makefile and pkg/PLIST: Index: Makefile =================================================================== RCS file: /usr/cvs/ports/textproc/sp/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 1999/06/02 21:40:22 1.10 +++ Makefile 1999/07/17 02:49:03 @@ -21,6 +21,7 @@ post-install: $(MKDIR) $(PREFIX)/include/sp $(MKDIR) $(PREFIX)/share/doc/sp + $(RM) $(WRKSRC)/include/*.orig for file in $(WRKSRC)/include/*;do $(INSTALL_DATA) $$file $(PREFIX)/include/sp;done for file in $(WRKSRC)/doc/*;do $(INSTALL_DATA) $$file $(PREFIX)/share/doc/sp;done =================================================================== RCS file: /usr/cvs/ports/textproc/sp/pkg/PLIST,v retrieving revision 1.4 diff -u -r1.4 PLIST --- PLIST 1999/06/02 21:39:10 1.4 +++ PLIST 1999/07/17 02:38:58 @@ -132,7 +132,6 @@ include/sp/XcharMap.cxx include/sp/XcharMap.h include/sp/config.h -include/sp/config.h.orig include/sp/constant.h include/sp/macros.h include/sp/rtti.h >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message