Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  7 Jul 2000 14:34:53 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/19762: Update port: graphics/tiff2png
Message-ID:  <20000707213453.47EFE37C082@hub.freebsd.org>

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

>Number:         19762
>Category:       ports
>Synopsis:       Update port: graphics/tiff2png
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 07 14:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support CFLAGS/LOCALBASE properly 

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/tiff2png/Makefile graphics/tiff2png/Makefile
--- /usr/ports/graphics/tiff2png/Makefile	Tue Jul  4 16:21:06 2000
+++ graphics/tiff2png/Makefile	Tue Jul  4 19:31:47 2000
@@ -8,7 +8,7 @@
 PORTNAME=	tiff2png
 PORTVERSION=	0.81
 CATEGORIES=	graphics
-MASTER_SITES=	ftp://ftp.cdrom.com/pub/png/src/ \
+MASTER_SITES=	ftp://ftp.libpng.org/pub/png/src/ \
 		ftp://swrinde.nde.swri.edu/pub/png/applications/
 
 MAINTAINER=	ports@FreeBSD.org
@@ -16,8 +16,6 @@
 LIB_DEPENDS=	tiff.4:${PORTSDIR}/graphics/tiff \
 		png.4:${PORTSDIR}/graphics/png
 
-MAKE_ARGS=	-E INSTALL
-MAKE_ENV=	INSTALL="${PREFIX}"
 ALL_TARGET=	tiff2png
 
 do-install:
diff -urN /usr/ports/graphics/tiff2png/patches/patch-aa graphics/tiff2png/patches/patch-aa
--- /usr/ports/graphics/tiff2png/patches/patch-aa	Tue Jul  4 16:00:07 2000
+++ graphics/tiff2png/patches/patch-aa	Tue Jul  4 19:29:52 2000
@@ -1,14 +1,15 @@
---- Makefile	Sun Feb 13 15:39:40 2000
-+++ Makefile.new	Tue Jul  4 02:51:02 2000
+--- Makefile.orig	Mon Feb 14 05:39:40 2000
++++ Makefile	Tue Jul  4 19:29:41 2000
 @@ -2,9 +2,9 @@
  # Copyright (C) 1996 Willem van Schaik
  
  #CC=cc
 -CC=gcc
-+CC?=gcc
- OPTIMFLAGS = -O3 
+-OPTIMFLAGS = -O3 
 -DEBUGFLAGS = -g -Wall -W
-+DEBUGFLAGS = -Wall -W
++#CC=gcc
++#OPTIMFLAGS = -O3 
++#DEBUGFLAGS = -g -Wall -W
  #COPY=cp
  COPY=/bin/cp -p
  DEL=/bin/rm -f
@@ -33,8 +34,8 @@
 -	-L$(ZLIB)/ \
 -	-lpng -lz -ltiff -ljpeg -lm
 +CFLAGS+=$(TIFF_VERSION) -DFAXPECT $(MIN_INVERT) $(OPTIMFLAGS) $(DEBUGFLAGS) \
-+	-I$(INSTALL)/include
-+LDFLAGS=-L. -L$(INSTALL)/lib -lpng -lz -ltiff -ljpeg -lm
++	-I${LOCALBASE}/include
++LDFLAGS=-L. -L${LOCALBASE}/lib -lpng -lz -ltiff -ljpeg -lm
  SLDFLAGS=-L. \
  	$(LIBTIFF)/libtiff.a $(LIBJPEG)/libjpeg.a \
  	$(LIBPNG)/libpng.a \


>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?20000707213453.47EFE37C082>