Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 21:01:01 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39643: Update port: graphics/gliv 1.5.2
Message-ID:  <200206220401.g5M411YA002791@www.freebsd.org>

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

>Number:         39643
>Category:       ports
>Synopsis:       Update port: graphics/gliv 1.5.2
>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 Jun 21 21:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.5.2

Remove file:
files/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/gliv/Makefile graphics/gliv/Makefile
--- /usr/ports/graphics/gliv/Makefile	Mon May 13 19:16:48 2002
+++ graphics/gliv/Makefile	Sat Jun 22 10:20:43 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gliv
-PORTVERSION=	1.4.5
+PORTVERSION=	1.5.2
 CATEGORIES=	graphics
 MASTER_SITES=	http://gliv.tuxfamily.org/
 
@@ -19,11 +19,11 @@
 RUN_DEPENDS=	${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
 
 USE_BZIP2=	yes
-USE_GTK=	yes
+USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
+USE_GTK=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
-		LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lXext -lX11" \
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
 		GDK_PIXBUF_CONFIG=${X11BASE}/bin/gdk-pixbuf-config \
 		MAGICK_CONFIG=${LOCALBASE}/bin/Magick-config
 CONFIGURE_ARGS=	--disable-gtk2
@@ -31,7 +31,11 @@
 
 MAN1=		gliv.1
 
+CPPFLAGS=	-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS=	-L${LOCALBASE}/lib -L${X11BASE}/lib -lXext -lX11 -lgnugetopt
+
 post-patch:
-	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/gliv/distinfo graphics/gliv/distinfo
--- /usr/ports/graphics/gliv/distinfo	Mon Jan 28 19:12:50 2002
+++ graphics/gliv/distinfo	Sat Jun 22 09:15:25 2002
@@ -1 +1 @@
-MD5 (gliv-1.4.5.tar.bz2) = 4049bc289a675f849a2c64b1258f83ae
+MD5 (gliv-1.5.2.tar.bz2) = 6ab41228f5f7ce1a3a0a7299d627341e
diff -urN /usr/ports/graphics/gliv/files/patch-aa graphics/gliv/files/patch-aa
--- /usr/ports/graphics/gliv/files/patch-aa	Sat May 11 18:21:19 2002
+++ graphics/gliv/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig	Sat May 11 02:13:30 2002
-+++ src/Makefile.in	Sat May 11 02:13:38 2002
-@@ -150,7 +150,7 @@
- @HAVE_MAGICK_FALSE@imagemagick_dist = $(imagemagick_files)
- 
- @NEED_REPLACEMENTS_TRUE@gliv_DEPENDENCIES = ../lib/libreplacements.a
--@NEED_REPLACEMENTS_TRUE@gliv_LDADD = -L../lib -lreplacements
-+@NEED_REPLACEMENTS_TRUE@gliv_LDADD = -L../lib -lreplacements -lgnugetopt
- localedir = $(datadir)/locale
- DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
- subdir = src

>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?200206220401.g5M411YA002791>