From owner-freebsd-ports Sat Oct 26 23:20: 6 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11D2A37B401 for ; Sat, 26 Oct 2002 23:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E83C43E65 for ; Sat, 26 Oct 2002 23:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9R6K2x3070049 for ; Sat, 26 Oct 2002 23:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9R6K2t9070048; Sat, 26 Oct 2002 23:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DDE537B401; Sat, 26 Oct 2002 23:18:52 -0700 (PDT) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EFF843E3B; Sat, 26 Oct 2002 23:18:51 -0700 (PDT) (envelope-from alane@wwweasel.geeksrus.net) Received: from wwweasel.geeksrus.net (localhost [127.0.0.1]) by wwweasel.geeksrus.net (8.12.6/8.12.6) with ESMTP id g9R6IjxW088293; Sun, 27 Oct 2002 01:18:45 -0500 (EST) (envelope-from alane@wwweasel.geeksrus.net) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.12.6/8.12.6/Submit) id g9R6IjcJ088292; Sun, 27 Oct 2002 01:18:45 -0500 (EST) (envelope-from alane) Message-Id: <200210270618.g9R6IjcJ088292@wwweasel.geeksrus.net> Date: Sun, 27 Oct 2002 01:18:45 -0500 (EST) From: Alan Eldridge Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@FreeBSD.org Cc: chuckr@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/44516: textproc/sp: dies because it doesn't build libsp.a before Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44516 >Category: ports >Synopsis: textproc/sp: dies because it doesn't build libsp.a before >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 26 23:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.7-STABLE i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.7-STABLE FreeBSD 4.7-STABLE #2: Sat Oct 26 12:33:12 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/MY_SHITS_FUCKED_UP i386 >Description: 1. The post-patch target in Makefile is redundant. The /opt/local paths get changed by the patches. 2. When rebuilding, it just says that 'lib is up to date' and then dies when it can't find the static library. >How-To-Repeat: >Fix: Removing the post-patch taret takes care of the 1st quirk. Marking FORCE and lib as .PHONY makes sure the libraries get built before they are needed. This may also fix things on -CURRRENT; I don't know what's wrong there. ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== Index: Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/sp/Makefile,v retrieving revision 1.21 diff -u -3 -r1.21 Makefile --- Makefile 26 Oct 2002 02:55:52 -0000 1.21 +++ Makefile 27 Oct 2002 05:59:56 -0000 @@ -21,12 +21,6 @@ BROKEN= "Does not compile on 5.0" .endif -post-patch: - $(CP) $(WRKSRC)/Makefile $(WRKSRC)/Makefile.sed - $(CP) $(WRKSRC)/Makefile.lib $(WRKSRC)/Makefile.lib.sed - $(SED) -e "s%/opt/local%$(PREFIX)%" <$(WRKSRC)/Makefile.sed >$(WRKSRC)/Makefile - $(SED) -e "s%/opt/local%$(PREFIX)%" <$(WRKSRC)/Makefile.lib.sed >$(WRKSRC)/Makefile.lib - post-install: $(MKDIR) $(PREFIX)/include/sp $(MKDIR) $(PREFIX)/share/doc/sp Index: files/patch-ab =================================================================== RCS file: /home/ncvs/ports/textproc/sp/files/patch-ab,v retrieving revision 1.4 diff -u -3 -r1.4 patch-ab --- files/patch-ab 30 Apr 2001 01:57:59 -0000 1.4 +++ files/patch-ab 27 Oct 2002 06:05:10 -0000 @@ -1,5 +1,5 @@ ---- Makefile.orig Sat Oct 10 04:15:02 1998 -+++ Makefile Mon Apr 30 01:06:08 2001 +--- Makefile.orig Sat Oct 10 00:15:02 1998 ++++ Makefile Sun Oct 27 01:05:00 2002 @@ -1,11 +1,12 @@ # Copyright (c) 1994, 1995 James Clark # See the file COPYING for copying permission. @@ -60,3 +60,9 @@ # Uncomment this for SunOS 4.1.3 or FreeBSD # (and probably other BSD flavor systems as well) #RANLIB=ranlib +@@ -145,3 +146,5 @@ + rm -fr sp-$$version + + FORCE: ++ ++.PHONY: FORCE lib ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== >Release-Note: >Audit-Trail: >Unformatted: linking against it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message