Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2000 01:19:45 -0800 (PST)
From:      sobomax@altavista.net
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/16079: [PATCH] tiff port during installation phase creates directory outside of ${PREFIX} (in the root f/s)
Message-ID:  <20000112091945.1B45A14EDD@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000112091945.1B45A14EDD>