Date: Thu, 5 Nov 1998 15:52:31 -0500 (EST) From: Bill Fumerola <billf@jade.chc-chimes.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/8581: update port: graphics/g2 Message-ID: <199811052052.PAA02738@jade.chc-chimes.com>
next in thread | raw e-mail | index | archive | help
>Number: 8581 >Category: ports >Synopsis: update port: graphics/g2 >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: Thu Nov 5 13:00:00 PST 1998 >Last-Modified: >Originator: Bill Fumerola >Organization: Computer Horizons Corp >Release: FreeBSD 2.2.7-STABLE i386 >Environment: >Description: update g2 from 0.23 -> 0.30 also cleaned up some of my configure / makefile stuff to make it more ${PREFIX}-friendly. Took out a patch that isn't needed if I do a CONFIGURE_ENV correctly. Removed dependency for autoconf with the preceding changes. >How-To-Repeat: >Fix: cvs server: Diffing . Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/g2/Makefile,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Makefile --- Makefile 1998/08/10 00:12:43 1.1.1.1 +++ Makefile 1998/11/05 20:52:13 @@ -1,12 +1,12 @@ # New ports collection makefile for: g2 -# Version required: 0.23 +# Version required: 0.30 # Date created: 16 July 1998 # Whom: Bill Fumerola <billf@chc-chimes.com> # # $Id: Makefile,v 1.1.1.1 1998/08/10 00:12:43 steve Exp $ # -DISTNAME= g2-0.23 +DISTNAME= g2-0.30 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= libs/graphics @@ -15,7 +15,15 @@ BUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd -USE_AUTOCONF= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${PREFIX}/include/gd" + +post-patch: + + ${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.pre_sed + ${CAT} ${WRKSRC}/Makefile.in.pre_sed | \ + ${SED} -e 's#DIR = /usr#DIR = ${PREFIX}#g' \ + >> ${WRKSRC}/Makefile.in do-build: cd ${WRKSRC} ; make depend ; make cvs server: Diffing files Index: files/md5 =================================================================== RCS file: /cvs/ports/graphics/g2/files/md5,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 md5 --- md5 1998/08/10 00:12:43 1.1.1.1 +++ md5 1998/11/05 20:52:13 @@ -1 +1 @@ -MD5 (g2-0.23.tar.gz) = cb8b1c63be70235cc8490da1a1e83c0c +MD5 (g2-0.30.tar.gz) = 8de31533b8eb5a4bb61005d631d99b55 cvs server: Diffing patches Index: patches/patch-aa =================================================================== RCS file: /cvs/ports/graphics/g2/patches/patch-aa,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 patch-aa --- patch-aa 1998/08/10 00:12:43 1.1.1.1 +++ patch-aa 1998/11/05 20:52:13 @@ -1,16 +1,5 @@ --- Makefile.in.old Mon Jul 27 13:12:08 1998 +++ Makefile.in Mon Jul 27 13:15:39 1998 -@@ -7,8 +7,8 @@ - # - # g2 installation directories - # --LIBDIR = /usr/lib --INCDIR = /usr/include -+LIBDIR = /usr/local/lib -+INCDIR = /usr/local/include - - #LIBDIR = $(HOME)/local/lib - #INCDIR = $(HOME)/local/include @@ -25,7 +25,7 @@ FIND = @FIND@ MAKEDEPEND = @MAKEDEPEND@ cvs server: patches/patch-ab was removed, no comparison available cvs server: Diffing pkg >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?199811052052.PAA02738>