From nobody@FreeBSD.org  Thu Sep 12 22:14:52 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id A9800E9
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Sep 2013 22:14:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 87C7A2C03
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Sep 2013 22:14:52 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8CMEqsf077029
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Sep 2013 22:14:52 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8CMEq0D077028;
	Thu, 12 Sep 2013 22:14:52 GMT
	(envelope-from nobody)
Message-Id: <201309122214.r8CMEq0D077028@oldred.freebsd.org>
Date: Thu, 12 Sep 2013 22:14:52 GMT
From: "Herbert J. Skuhra" <h.skuhra@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [Patch] Update deskutils/pal to version 0.4.3 and fix build under HEAD
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182052
>Category:       ports
>Synopsis:       [Patch] Update deskutils/pal to version 0.4.3 and fix build under HEAD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 22:20:00 UTC 2013
>Closed-Date:    Mon Sep 16 22:55:08 UTC 2013
>Last-Modified:  Mon Sep 16 23:00:00 UTC 2013
>Originator:     Herbert J. Skuhra
>Release:        FreeBSD 10.0-CURRENT i386
>Organization:
>Environment:
FreeBSD build.home.lan 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r255487: Thu Sep 12 13:31:17 CEST 2013     herbert@build.home.lan:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The attached patch updates deskutils/pal to version 0.4.3 (released 2008-07-28) and fixes building under HEAD.

Maybe this port should be removed:

* no updates since July, 2008
* the homepage says latest version is 0.4.2, SourceForge download page lists 0.4.3


>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: deskutils/pal/Makefile
===================================================================
--- deskutils/pal/Makefile	(revision 327106)
+++ deskutils/pal/Makefile	(working copy)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pal
-PORTVERSION=	0.3.4
-PORTREVISION=	6
+PORTVERSION=	0.4.3
 CATEGORIES=	deskutils
 MASTER_SITES=	SF/${PORTNAME}cal/${PORTNAME}/${PORTVERSION}
 EXTRACT_SUFX=	.tgz
@@ -21,12 +20,8 @@
 
 .include <bsd.port.pre.mk>
 
-.if exists(${LOCALBASE}/lib/libreadline.so.6)
-LIB_DEPENDS=	readline.6:${PORTSDIR}/devel/readline
-.endif
-
 post-patch:
-	@${REINPLACE_CMD} -e "s,prefix = /usr,prefix = ${PREFIX},g" ${WRKSRC}/Makefile.defs
+	@${REINPLACE_CMD} -e "s,prefix = /usr,prefix = ${PREFIX},g;s,CC,#CC,g" ${WRKSRC}/Makefile.defs
 
 post-build:
 	${REINPLACE_CMD} -e "s,VERSION,${PORTVERSION},g" ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pal.1.template
Index: deskutils/pal/distinfo
===================================================================
--- deskutils/pal/distinfo	(revision 327106)
+++ deskutils/pal/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (pal-0.3.4.tgz) = 0408441199b64e5c1c2e28a9ae920ad2f35523ad04c59759279520e3c236a0b9
-SIZE (pal-0.3.4.tgz) = 109125
+SHA256 (pal-0.4.3.tgz) = ce470cb7be76522ff58cd0325ad7817b6cc2132a5e0cea55de8c9eb63b54551c
+SIZE (pal-0.4.3.tgz) = 130865
Index: deskutils/pal/files/patch-src-Makefile
===================================================================
--- deskutils/pal/files/patch-src-Makefile	(revision 0)
+++ deskutils/pal/files/patch-src-Makefile	(working copy)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2008-07-28 18:16:23.000000000 +0200
++++ Makefile	2013-09-12 23:52:39.000000000 +0200
+@@ -3,7 +3,7 @@
+ include Makefile.defs
+ 
+ INCLDIR = -I${prefix}/include `pkg-config --cflags glib-2.0`
+-LIBDIR  =
++LIBDIR  = -L/usr/lib
+ LIBS    = `pkg-config --libs glib-2.0` -lreadline -lncurses
+ 
+ SRC     = main.c colorize.c output.c input.c event.c rl.c html.c latex.c \

Property changes on: deskutils/pal/files/patch-src-Makefile
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: deskutils/pal/pkg-plist
===================================================================
--- deskutils/pal/pkg-plist	(revision 327106)
+++ deskutils/pal/pkg-plist	(working copy)
@@ -1,5 +1,6 @@
 bin/pal
 %%DATADIR%%/australia.pal
+%%DATADIR%%/austria.pal
 %%DATADIR%%/birth-death.pal
 %%DATADIR%%/christian.pal
 %%DATADIR%%/computer.pal


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Fri Sep 13 11:12:54 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182052 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Mon Sep 16 22:55:07 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182052 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182052: commit references a PR
Date: Mon, 16 Sep 2013 22:55:05 +0000 (UTC)

 Author: wg
 Date: Mon Sep 16 22:54:52 2013
 New Revision: 327445
 URL: http://svnweb.freebsd.org/changeset/ports/327445
 
 Log:
   deskutils/pal: update to 0.4.3
   
   - Update to 0.4.3 [1]
   - USES gmake
   - Remove leading article from COMMENT
   
   PR:		ports/182052 [1]
   Submitted by:	Herbert J. Skuhra <h.skuhra gmail.com> (maintainer)
 
 Added:
   head/deskutils/pal/files/
   head/deskutils/pal/files/patch-src-Makefile   (contents, props changed)
 Modified:
   head/deskutils/pal/Makefile
   head/deskutils/pal/distinfo
   head/deskutils/pal/pkg-plist
 
 Modified: head/deskutils/pal/Makefile
 ==============================================================================
 --- head/deskutils/pal/Makefile	Mon Sep 16 22:44:28 2013	(r327444)
 +++ head/deskutils/pal/Makefile	Mon Sep 16 22:54:52 2013	(r327445)
 @@ -2,16 +2,15 @@
  # $FreeBSD$
  
  PORTNAME=	pal
 -PORTVERSION=	0.3.4
 -PORTREVISION=	6
 +PORTVERSION=	0.4.3
  CATEGORIES=	deskutils
  MASTER_SITES=	SF/${PORTNAME}cal/${PORTNAME}/${PORTVERSION}
  EXTRACT_SUFX=	.tgz
  
  MAINTAINER=	h.skuhra@gmail.com
 -COMMENT=	A calendar application
 +COMMENT=	Calendar application
  
 -USES=		pkgconfig gettext
 +USES=		pkgconfig gettext gmake
  USE_GNOME=	glib20
  USE_GMAKE=	yes
  ALL_TARGET=
 @@ -21,12 +20,8 @@ MAN1=		pal.1
  
  .include <bsd.port.pre.mk>
  
 -.if exists(${LOCALBASE}/lib/libreadline.so.6)
 -LIB_DEPENDS=	readline.6:${PORTSDIR}/devel/readline
 -.endif
 -
  post-patch:
 -	@${REINPLACE_CMD} -e "s,prefix = /usr,prefix = ${PREFIX},g" ${WRKSRC}/Makefile.defs
 +	@${REINPLACE_CMD} -e "s,prefix = /usr,prefix = ${PREFIX},g;s,^CC,#CC,g" ${WRKSRC}/Makefile.defs
  
  post-build:
  	${REINPLACE_CMD} -e "s,VERSION,${PORTVERSION},g" ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pal.1.template
 
 Modified: head/deskutils/pal/distinfo
 ==============================================================================
 --- head/deskutils/pal/distinfo	Mon Sep 16 22:44:28 2013	(r327444)
 +++ head/deskutils/pal/distinfo	Mon Sep 16 22:54:52 2013	(r327445)
 @@ -1,2 +1,2 @@
 -SHA256 (pal-0.3.4.tgz) = 0408441199b64e5c1c2e28a9ae920ad2f35523ad04c59759279520e3c236a0b9
 -SIZE (pal-0.3.4.tgz) = 109125
 +SHA256 (pal-0.4.3.tgz) = ce470cb7be76522ff58cd0325ad7817b6cc2132a5e0cea55de8c9eb63b54551c
 +SIZE (pal-0.4.3.tgz) = 130865
 
 Added: head/deskutils/pal/files/patch-src-Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/deskutils/pal/files/patch-src-Makefile	Mon Sep 16 22:54:52 2013	(r327445)
 @@ -0,0 +1,11 @@
 +--- Makefile.orig	2008-07-28 18:16:23.000000000 +0200
 ++++ Makefile	2013-09-12 23:52:39.000000000 +0200
 +@@ -3,7 +3,7 @@
 + include Makefile.defs
 + 
 + INCLDIR = -I${prefix}/include `pkg-config --cflags glib-2.0`
 +-LIBDIR  =
 ++LIBDIR  = -L/usr/lib
 + LIBS    = `pkg-config --libs glib-2.0` -lreadline -lncurses
 + 
 + SRC     = main.c colorize.c output.c input.c event.c rl.c html.c latex.c \
 
 Modified: head/deskutils/pal/pkg-plist
 ==============================================================================
 --- head/deskutils/pal/pkg-plist	Mon Sep 16 22:44:28 2013	(r327444)
 +++ head/deskutils/pal/pkg-plist	Mon Sep 16 22:54:52 2013	(r327445)
 @@ -1,5 +1,6 @@
  bin/pal
  %%DATADIR%%/australia.pal
 +%%DATADIR%%/austria.pal
  %%DATADIR%%/birth-death.pal
  %%DATADIR%%/christian.pal
  %%DATADIR%%/computer.pal
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
