From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 1 18:40:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DBD7D627 for ; Mon, 1 Apr 2013 18:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C51D98E9 for ; Mon, 1 Apr 2013 18:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r31Ie1c1029623 for ; Mon, 1 Apr 2013 18:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r31Ie1mM029622; Mon, 1 Apr 2013 18:40:01 GMT (envelope-from gnats) Resent-Date: Mon, 1 Apr 2013 18:40:01 GMT Resent-Message-Id: <201304011840.r31Ie1mM029622@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DF11CCEC for ; Mon, 1 Apr 2013 18:30:51 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa101lp.auone-net.jp (msa101lp.auone-net.jp [222.3.140.164]) by mx1.freebsd.org (Postfix) with ESMTP id B672E810 for ; Mon, 1 Apr 2013 18:30:51 +0000 (UTC) Received: from localhost.localdomain (ZT034105.ppp.dion.ne.jp [59.128.34.105]) by msa101lp.auone-net.jp (au one net msa) with ESMTP id 72B4934034 for ; Tue, 2 Apr 2013 03:30:49 +0900 (JST) Message-Id: <20130402032136.b54d1a19cd47ccc472575394@yahoo.com> Date: Tue, 2 Apr 2013 03:21:36 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/177553: x11-wm/windowlab: Fix build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 18:40:01 -0000 >Number: 177553 >Category: ports >Synopsis: x11-wm/windowlab: Fix build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 01 18:40:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p11 i386 >Organization: >Environment: >Description: - Fix build >How-To-Repeat: >Fix: diff -urN /usr/ports/x11-wm/windowlab/Makefile x11-wm/windowlab/Makefile --- /usr/ports/x11-wm/windowlab/Makefile 2013-03-20 00:45:33.000000000 +0900 +++ x11-wm/windowlab/Makefile 2013-04-02 02:59:54.000000000 +0900 @@ -3,39 +3,56 @@ PORTNAME= windowlab PORTVERSION= 1.40 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= http://nickgravgaard.com/windowlab/ EXTRACT_SUFX= .tar +DIST_SUBDIR= repacked MAINTAINER= ports@FreeBSD.org -COMMENT= A small window manager for X11 +COMMENT= Small window manager for X11 -MAN1= windowlab.1x +LICENSE= GPLv2 + +OPTIONS_DEFINE= XFT DOCS USE_XORG= x11 xext USE_GMAKE= yes +MAKE_ENV= XROOT="${LOCALBASE}" SYSCONFDIR="${ETCDIR}" +MAKE_JOBS_SAFE= yes -BROKEN= distfile mismatch - -MAKE_ARGS= MENURC=${PREFIX}/etc/windowlab/menurc CC="${CC}" +MAN1= windowlab.1x +PORTDOCS= CHANGELOG README +PLIST_FILES= bin/windowlab %%ETCDIR%%/menurc +PLIST_DIRS= %%ETCDIR%% -PLIST_FILES= bin/windowlab etc/windowlab/menurc -PLIST_DIRS= etc/windowlab +.include -PORTDOCS= CHANGELOG README +.if ${PORT_OPTIONS:MXFT} +USE_XORG+= xft +USE_PKGCONFIG= build +MAKE_ENV+= EXTRA_INC="$$(pkg-config --cflags xft)" \ + EXTRA_LIBS="$$(pkg-config --libs xft)" +CFLAGS+= -DXFT +.endif post-patch: - @${REINPLACE_CMD} -e 's,^CC =,CC ?=,' \ - -e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e \ + 's|^\(PREFIX\) =|\1 ?=| ; \ + s|^\(XROOT\) =|\1 ?=| ; \ + s|^\(SYSCONFDIR\) =|\1 ?=| ; \ + s|^\(CC\) =|\1 ?=|' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/windowlab ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/windowlab.1x ${MANPREFIX}/man/man1 - ${MKDIR} ${PREFIX}/etc/windowlab - ${INSTALL_DATA} ${WRKSRC}/windowlab.menurc ${PREFIX}/etc/windowlab/menurc -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_PROGRAM} windowlab ${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_MAN} windowlab.1x ${MANPREFIX}/man/man1) + @${MKDIR} ${ETCDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} windowlab.menurc ${ETCDIR}/menurc) +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) +.endfor .endif .include diff -urN /usr/ports/x11-wm/windowlab/distinfo x11-wm/windowlab/distinfo --- /usr/ports/x11-wm/windowlab/distinfo 2012-11-08 06:35:42.000000000 +0900 +++ x11-wm/windowlab/distinfo 2013-03-31 02:34:45.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (windowlab-1.40.tar) = 1c9cca5d997cfdcec093e98b7f1996da2d806fbbe4472bdcca568863f3e75d93 -SIZE (windowlab-1.40.tar) = 174080 +SHA256 (repacked/windowlab-1.40.tar) = 8d6831a4b848badf82d1f34af6e45dc814d30ee75173b52f1717254d3097a4bb +SIZE (repacked/windowlab-1.40.tar) = 174080 >Release-Note: >Audit-Trail: >Unformatted: