Date: Sun, 2 Jul 2000 12:27:57 -0400 (EDT) From: Mikhail Teterin <mi@murlo.zaytman.com> To: FreeBSD-gnats-submit@freebsd.org Cc: jmz@freebsd.org Subject: ports/19645: x11/xloadimage ignores CC and CFLAGS, skips uufilter's man page Message-ID: <200007021627.MAA34901@murlo.zaytman.com>
next in thread | raw e-mail | index | archive | help
>Number: 19645 >Category: ports >Synopsis: x11/xloadimage ignores CC and CFLAGS, skips uufilter's man page >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 Jul 02 09:30:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 4.0-STABLE i386 >Organization: Virtual-Estates, Inc. >Environment: >Description: Besides what's listed in Synopsis (and fixed by the patches supplied), the port has another major flaw -- it builds its own (very outdated) versions of libtiff and libjpeg... Some day, I'll submit a fix for that too... >How-To-Repeat: >Fix: Add the following to the set of patches (as patch-6, I guess): --- Makefile Tue Nov 9 17:25:12 1993 +++ Makefile Sun Jul 2 10:56:48 2000 @@ -24,5 +24,7 @@ autoconfig: autoconfig.c - $(CC) -g -o autoconfig autoconfig.c + $(CC) -o autoconfig autoconfig.c -DDEF_CC='"${CC}"' \ + -DDEF_OPT_FLAGS='"${OPT_FLAGS}"' \ + -DDEF_INSTALL_DIR='"${PREFIX}/bin"' # manual configuration target --- Make.conf Tue Nov 9 17:26:55 1993 +++ Make.conf Sun Jul 2 10:57:03 2000 @@ -12,5 +12,8 @@ # Optimization flags for C compiler. -OPT_FLAGS= +# A comment inside autoconfig.c recommends the two extra options: +# -fstrength-reduce and -finline-functions +# Unfortunately, strength-reduce triggers a bug in the gcc-2.95.2. +OPT_FLAGS:=-fnostrength-reduce -finline-functions ${CFLAGS} # Miscellaneous system libraries. Apply the following to the port's Makefile --- Makefile Thu Apr 13 15:10:41 2000 +++ Makefile Sun Jul 2 12:04:47 2000 @@ -17,5 +17,5 @@ USE_X_PREFIX= yes ALL_TARGET= -MAN1= xloadimage.1 +MAN1= xloadimage.1 uufilter.1 do-configure: @@ -27,4 +27,5 @@ cd ${WRKSRC} && ${INSTALL_DATA} xloadimagerc ${PREFIX}/lib/X11/app-defaults/Xloadimage cd ${WRKSRC} && ${SED} -e s:/usr/lib/X11/Xloadimage:${PREFIX}/lib/X11/app-defaults/Xloadimage: < xloadimage.man >${PREFIX}/man/man1/xloadimage.1 + ${INSTALL_MAN} ${WRKSRC}/uufilter.man ${PREFIX}/man/man1/uufilter.1 .include <bsd.port.mk> >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?200007021627.MAA34901>