ports/182052: [Patch] Update deskutils/pal to version 0.4.3 and fix build under HEAD
Herbert J. Skuhra
h.skuhra at gmail.com
Thu Sep 12 22:20:01 UTC 2013
>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: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 12 22:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list