From owner-freebsd-ports Sun Mar 11 3:20:10 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B5DE537B71A for ; Sun, 11 Mar 2001 03:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2BBK1Y92485; Sun, 11 Mar 2001 03:20:01 -0800 (PST) (envelope-from gnats) Received: from epsilon.lucida.ca (epsilon.lucida.ca [209.47.215.67]) by hub.freebsd.org (Postfix) with SMTP id B9F7D37B718 for ; Sun, 11 Mar 2001 03:10:26 -0800 (PST) (envelope-from matt@epsilon.lucida.ca) Received: (qmail 1105 invoked by uid 1000); 11 Mar 2001 11:10:25 -0000 Message-Id: <20010311111025.1104.qmail@epsilon.lucida.ca> Date: 11 Mar 2001 11:10:25 -0000 From: matt@LUCIDA.CA Reply-To: matt@LUCIDA.CA To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/25697: PORT BUILD ERROR CORRECTION: ftp/xrmftp Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25697 >Category: ports >Synopsis: PORT BUILD ERROR CORRECTION: ftp/xrmftp >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 11 03:20:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Matt Heckaman >Release: FreeBSD 4.2-STABLE i386 >Organization: Lucida Communications >Environment: 4.2-STABLE, PORTS-CURRENT >Description: Apparently, a change to the x11-toolkits/xforms port broke the building of the ftp/xrmftp port. This error was reported by fenner@FreeBSD.org. The diff attached corrects the problem, as well as tweaks a -O3 to a -O2 because I absolutely *hate* compiling with -O3 due to possible anomalies. Better safe than sorry, in my opinion. >How-To-Repeat: Build xrmftp with a new install of xforms on ports-current. >Fix: diff -ruN xrmftp.orig/Makefile xrmftp/Makefile --- xrmftp.orig/Makefile Thu Mar 8 14:31:10 2001 +++ xrmftp/Makefile Sun Mar 11 06:01:14 2001 @@ -1,6 +1,6 @@ # New ports collection Makefile for: xrmftp # Date created: 28 March 2000 -# Whom: Matt Heckaman +# Whom: Matt Heckaman # # $FreeBSD: ports/ftp/xrmftp/Makefile,v 1.3 2001/03/08 19:31:10 sf Exp $ # diff -ruN xrmftp.orig/files/patch-aa xrmftp/files/patch-aa --- xrmftp.orig/files/patch-aa Sat Apr 1 07:31:41 2000 +++ xrmftp/files/patch-aa Sun Mar 11 05:59:33 2001 @@ -1,19 +1,18 @@ ---- Makefile Tue Nov 17 19:25:43 1998 -+++ Makefile.new Sat Apr 1 06:43:11 2000 +--- Makefile.orig Tue Nov 17 19:25:43 1998 ++++ Makefile Sun Mar 11 05:59:19 2001 @@ -1,17 +1,20 @@ -CC=gcc -XFORMSLIBPATH=/usr/X11R6/lib # path to xforms library -XFORMSINCPATH=/usr/X11R6/include # path to xforms header file -XLIBSPATH=/usr/X11R6/lib # path to standard X libraries -XINCPATH=/usr/X11R6/include # path to standard X header files --LIBS= -lm -lX11 -lforms # libraries +X11BASE?=/usr/X11R6 +CC ?=gcc +XFORMSLIBPATH=${X11BASE}/lib # path to xforms library +XFORMSINCPATH=${X11BASE}/include # path to xforms header file +XLIBSPATH=${X11BASE}/lib # path to standard X libraries +XINCPATH=${X11BASE}/include # path to standard X header files -+LIBS= -lm -lX11 -lxforms # libraries + LIBS= -lm -lX11 -lforms # libraries #EXTRALIBS=-lnsl -lsocket # additional libraries needed by some unices SRC=xftp.c fd_xftp.c OBJ=$(SRC:.c=.o) @@ -21,7 +20,7 @@ -CFLAGS=-I/usr/include -I${XFORMSINCPATH} -I${XINCPATH} -LDFLAGS=-L/usr/lib -L${XLIBSPATH} ${LIBS} ${EXTRALIBS} -L${XFORMSLIBPATH} -O3 +CFLAGS +=-I/usr/include -I${XFORMSINCPATH} -I${XINCPATH} -+LDFLAGS =-L/usr/lib -L${XLIBSPATH} ${LIBS} ${EXTRALIBS} -L${XFORMSLIBPATH} -O3 ++LDFLAGS =-L/usr/lib -L${XLIBSPATH} ${LIBS} ${EXTRALIBS} -L${XFORMSLIBPATH} -O2 #------------------------------------------------------------------------------ + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message