From owner-freebsd-ports Wed Jan 12 1:20: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A5B83154BB for ; Wed, 12 Jan 2000 01:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA01318; Wed, 12 Jan 2000 01:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 1B45A14EDD; Wed, 12 Jan 2000 01:19:45 -0800 (PST) Message-Id: <20000112091945.1B45A14EDD@hub.freebsd.org> Date: Wed, 12 Jan 2000 01:19:45 -0800 (PST) From: sobomax@altavista.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/16079: [PATCH] tiff port during installation phase creates directory outside of ${PREFIX} (in the root f/s) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16079 >Category: ports >Synopsis: [PATCH] tiff port during installation phase creates directory outside of ${PREFIX} (in the root f/s) >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 12 01:20:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Maxim Sobolev >Release: >Organization: Vega International Capital >Environment: >Description: Due to buggy tools/Makefile.in, tiff port during installation phase creates a directory (/tiff.sw.tools) in the root f/s which obviously not what we want it to do. Following I'm attaching enhanced patches/patch-ac file which should fix this misbehaviour. >How-To-Repeat: >Fix: --- tools/Makefile.in.orig Tue Dec 21 01:46:11 1999 +++ tools/Makefile.in Wed Jan 12 11:04:23 2000 @@ -43,17 +43,17 @@ INSTALL = @INSTALL@ # COPTS = @GCOPTS@ -OPTIMIZER=-O +#OPTIMIZER=-O IPATH = -I. -I${SRCDIR} -I${LIBDIR} -CFLAGS = @ENVOPTS@ ${COPTS} ${OPTIMIZER} ${IPATH} +CFLAGS = @ENVOPTS@ ${COPTS} ${OPTIMIZER} ${IPATH} -L../libtiff # -TIFFLIB = ${DEPTH}/libtiff/libtiff.@DSOSUF@ +TIFFLIB = ${DEPTH}/libtiff/libtiff.@DSOSUF_VERSION@ LIBJPEG = @LIBJPEG@ LIBGZ = @LIBGZ@ LIBTIFF = @TIFFLIBREF@ LIBPORT = @LIBPORT@ MACHLIBS= @MACHDEPLIBS@ -LIBS = ${LIBTIFF} ${LIBJPEG} ${LIBGZ} ${LIBPORT} ${MACHLIBS} +LIBS = ${LIBJPEG} ${LIBGZ} ${LIBPORT} ${MACHLIBS} -ltiff # OBJS= \ fax2tiff.o \ @@ -108,7 +108,7 @@ true; \ fi install: all - ${INSTALL} -idb nostrip tiff.sw.tools -m 755 -dir @DIR_BIN@ + ${INSTALL} -idb tiff.sw.tools -m 755 -dir @DIR_BIN@ ${INSTALL} -idb nostrip tiff.sw.tools -m 755 -F @DIR_BIN@ -O ${TARGETS} @if [ "@LIBIMAGE@" = yes ]; then \ ${INSTALL} -idb tiff.sw.tools -m 755 -F @DIR_BIN@ -O sgi2tiff; \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message