Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2014 18:27:33 +0200
From:      Zsolt Udvari <udvzsolt@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        udvzsolt@gmail.com
Subject:   ports/190116: [patch] x11-wm/herbstluftwm update to 0.6.2, Makefile fixes
Message-ID:  <537e259c.451f0f0a.7a27.593f@mx.google.com>
Resent-Message-ID: <201405221630.s4MGU2jU058669@freefall.freebsd.org>

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

>Number:         190116
>Category:       ports
>Synopsis:       [patch] x11-wm/herbstluftwm update to 0.6.2, Makefile fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 22 16:30:02 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Zsolt Udvari
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD bsd-zsolt 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
- update to 0.6.2
- use shebangfix instead of manual patching
- drop config.mk edit - options passed via MAKE_ARGS
>How-To-Repeat:
>Fix:


--- herbstluftwm-0.6.2.diff begins here ---
diff -ur herbstluftwm.orig/Makefile herbstluftwm/Makefile
--- herbstluftwm.orig/Makefile	2014-05-22 17:50:00.000000000 +0200
+++ herbstluftwm/Makefile	2014-05-22 18:18:52.000000000 +0200
@@ -1,7 +1,7 @@
 # $FreeBSD: head/x11-wm/herbstluftwm/Makefile 352018 2014-04-24 16:44:39Z pawel $
 
 PORTNAME=	herbstluftwm
-PORTVERSION=	0.6.0
+PORTVERSION=	0.6.2
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://herbstluftwm.org/tarballs/
 
@@ -12,7 +12,8 @@
 
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
-USES=		gmake pkgconfig
+USES=		gmake pkgconfig shebangfix
+SHEBANG_FILES=scripts/*.sh
 USE_XORG=	x11 xinerama
 USE_GNOME=	glib20
 
@@ -26,11 +27,7 @@
 .include <bsd.port.options.mk>
 
 post-patch:
-	${REINPLACE_CMD} -e '/-[LI]\/usr/s,/usr,${LOCALBASE},' \
-		${WRKSRC}/config.mk
 	${REINPLACE_CMD} -e '/LICENSEDIR/d' ${WRKSRC}/Makefile
-	${GREP} -Rl --null '^#!/bin/bash' ${WRKSRC} | ${XARGS} -0 \
-		${REINPLACE_CMD} -e 's,/bin/bash,/usr/bin/env bash,'
 .if ! ${PORT_OPTIONS:MBASH}
 	${REINPLACE_CMD} -e '/BASHCOMPLETIONDIR/d' ${WRKSRC}/Makefile
 .endif
diff -ur herbstluftwm.orig/distinfo herbstluftwm/distinfo
--- herbstluftwm.orig/distinfo	2014-05-22 17:50:00.000000000 +0200
+++ herbstluftwm/distinfo	2014-05-22 17:50:25.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (herbstluftwm-0.6.0.tar.gz) = 148359784220f41b8c7c81bc64b1a1e5e10472f0e331fbea2ecb23cab741c6ef
-SIZE (herbstluftwm-0.6.0.tar.gz) = 229360
+SHA256 (herbstluftwm-0.6.2.tar.gz) = a89f5c397aee7f1aa3b39dd53bc67e282679f02f1c0bf3c33c41a608e217f0ac
+SIZE (herbstluftwm-0.6.2.tar.gz) = 224191
--- herbstluftwm-0.6.2.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?537e259c.451f0f0a.7a27.593f>