Date: Sat, 24 Sep 2011 04:55:13 +0400 From: h h <aakuusta@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160963: [patch] x11/bigreqsproto: disable specs Message-ID: <86ehz64v4e.fsf@gmail.com> Resent-Message-ID: <201109240100.p8O101Nm094250@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160963 >Category: ports >Synopsis: [patch] x11/bigreqsproto: disable specs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-x11 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 24 01:00:01 UTC 2011 >Closed-Date: >Last-Modified: >Originator: h h >Release: FreeBSD 9.0-BETA2 amd64 >Organization: >Environment: >Description: We already disable specs for other *proto ports: $ fgrep /specs x11*/*proto*/Makefile x11/recordproto/Makefile: s/specs//' ${WRKSRC}/Makefile.in x11/scrnsaverproto/Makefile: s/specs//' ${WRKSRC}/Makefile.in x11/xcmiscproto/Makefile: @${REINPLACE_CMD} '/^SUBDIRS =/,/^$$/ s/specs//' \ x11/xextproto/Makefile: @${REINPLACE_CMD} '/^SUBDIR/s/specs//' ${WRKSRC}/Makefile.in cf. http://docs.freebsd.org/cgi/mid.cgi?201109230009.58639.dave4431 >How-To-Repeat: 1. install either of: textproc/fop textproc/xmlto xorg-sgml-doctools (no port?) 2. install x11/bigreqsproto The port would either fail to build or build&install with incorrect plist. >Fix: --- a.diff begins here --- Index: x11/bigreqsproto/Makefile =================================================================== RCS file: /a/.csup/ports/x11/bigreqsproto/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- x11/bigreqsproto/Makefile 25 Feb 2011 16:52:08 -0000 1.3 +++ x11/bigreqsproto/Makefile 23 Sep 2011 23:26:34 -0000 @@ -14,4 +14,9 @@ COMMENT= BigReqs extension headers XORG_CAT= proto +CONFIGURE_ARGS= --disable-specs + +post-patch: .SILENT + ${REINPLACE_CMD} '/^SUBDIR/s/specs//' ${WRKSRC}/Makefile.in + .include <bsd.port.mk> Index: x11/bigreqsproto/pkg-plist =================================================================== RCS file: /a/.csup/ports/x11/bigreqsproto/pkg-plist,v retrieving revision 1.3 diff -u -p -r1.3 pkg-plist --- x11/bigreqsproto/pkg-plist 25 Feb 2011 16:52:08 -0000 1.3 +++ x11/bigreqsproto/pkg-plist 23 Sep 2011 23:27:39 -0000 @@ -1,6 +1,4 @@ include/X11/extensions/bigreqsproto.h include/X11/extensions/bigreqstr.h libdata/pkgconfig/bigreqsproto.pc -%%DOCSDIR%%/bigreq.xml -@dirrm %%DOCSDIR%% @dirrmtry include/X11/extensions --- a.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?86ehz64v4e.fsf>