Date: 11 Mar 2001 11:10:25 -0000 From: matt@LUCIDA.CA To: FreeBSD-gnats-submit@freebsd.org Subject: ports/25697: PORT BUILD ERROR CORRECTION: ftp/xrmftp Message-ID: <20010311111025.1104.qmail@epsilon.lucida.ca>
next in thread | raw e-mail | index | archive | help
>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 <matt@LUCIDA.QC.CA> +# Whom: Matt Heckaman <matt@LUCIDA.CA> # # $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 <forms.h> -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 <forms.h> +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010311111025.1104.qmail>