From owner-svn-ports-head@freebsd.org Sun Feb 11 15:18:38 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 348E8F2060E; Sun, 11 Feb 2018 15:18:38 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 970257C56D; Sun, 11 Feb 2018 15:18:37 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: by mail-wr0-x244.google.com with SMTP id h9so12771250wre.12; Sun, 11 Feb 2018 07:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:reply-to:subject:to:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PJ2rD9ftCUQTo+AQ36H6S5ohtT8syNuTOGLtOngHNs0=; b=miuffYB8U602GRc8R6e836iKd6anbDEw3YT8EXv9/WHn22R8txe6aDuYc7PJitTg1t YWv4lhI7qPyR4JCvxtuZdBe4h1nqp9dc2KAOV+Z4Y6lwQL9RNm4osliTegNJoXyy652e venlmO7WgjK6hNbi/zZxXmZReDOAtmCWl94C0ek+B/qTKYiP4zbK1cpytB60Q3iMYkJu pWuqQPnDtZeWo89IYJKZ4LlGQriOaXA2BiAbYGmIpbYt8jMHaJ73FOy01+Tzr3Ht11J7 yo+4APKko/UrnmXhRk5jj03+RGbEXs/bEiQYgP31OpTYEBzRSu0GWVL280QLJ9nzCk9r rjow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:reply-to:subject:to:references:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PJ2rD9ftCUQTo+AQ36H6S5ohtT8syNuTOGLtOngHNs0=; b=XUnTDBjPpUxlu1V7YmDh5l6Lnnv+m43OSMCXKOGvFWFe+XqBrWMBOvXm/O1MTNYn2U GoRVo4DrHe/2FFllHP+F7FPek7BVuJXnlFrYy7T4DwA4iC26rjxOcaIHBV6h1fLu9wqs FdnPSVuJjAZRU02+TnFHictz/0MUv7Zn3wb0x3hAJMbiD+2Gj4p2U6a4an0mi273M61u dzqQb2BIrUO7bRoGLUvNql0tm0EqbJzLYv9pyYHUrGJVaj4CDK2Z7hoOYe/NP/mpWeQO u291XIdY+rDHSb6IMoz3N4++4DNyeuob5KGFMXh4S31VRcJcyWGbfuDPGeJ58GIcRjKW jb4g== X-Gm-Message-State: APf1xPCSWFHUivAtgIHYob4tLPvSTilc82pB1JMop6Jxz4n109V39zIh nZIOYRStAWegyhr+k0ESQaH8oz07 X-Google-Smtp-Source: AH8x227Zwlm9jOSLYJJByUtoEvrX3c+PvdIqcyEVNbVcd+21PAu5M5+XvZcSDA/DlfoVbF6VVECF/A== X-Received: by 10.223.129.76 with SMTP id 70mr7091794wrm.255.1518362316343; Sun, 11 Feb 2018 07:18:36 -0800 (PST) Received: from [88.208.79.100] (halouny.humusoft.cz. [88.208.79.100]) by smtp.gmail.com with ESMTPSA id x127sm2838413wmb.36.2018.02.11.07.18.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Feb 2018 07:18:35 -0800 (PST) From: Michal Meloun X-Google-Original-From: Michal Meloun Reply-To: mmel@freebsd.org Subject: Re: svn commit: r460716 - head/comms/lirc To: Dmitry Marakasov , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201802021645.w12Gjtef069607@repo.freebsd.org> Message-ID: <026a209a-e474-35f5-0b08-e1f4853d758a@freebsd.org> Date: Sun, 11 Feb 2018 16:18:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <201802021645.w12Gjtef069607@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 15:18:38 -0000 On 02.02.2018 17:45, Dmitry Marakasov wrote: > Author: amdmi3 > Date: Fri Feb 2 16:45:55 2018 > New Revision: 460716 > URL: https://svnweb.freebsd.org/changeset/ports/460716 > > Log: > - Switch to USES=localbase > - Pet portlint > - Switch to options helpers > - Fix plist for MINIMAL case > - Properly optionize svgalib dependency handling This breaks comms/lirc on armv6 and armv7. ===> Building package for lirc-0.9.0_8,1 pkg-static: Unable to access file /wrkdirs/usr/ports/comms/lirc/work/stage/usr/local/%%SMODE2%%bin/smode2:No such file or directory *** Error code 1 Michal > > Modified: > head/comms/lirc/Makefile > > Modified: head/comms/lirc/Makefile > ============================================================================== > --- head/comms/lirc/Makefile Fri Feb 2 16:42:40 2018 (r460715) > +++ head/comms/lirc/Makefile Fri Feb 2 16:45:55 2018 (r460716) > @@ -3,7 +3,7 @@ > > PORTNAME= lirc > PORTVERSION= 0.9.0 > -PORTREVISION= 7 > +PORTREVISION= 8 > PORTEPOCH= 1 > CATEGORIES= comms > MASTER_SITES= SF/${PORTNAME}/LIRC/${PORTVERSION} > @@ -13,58 +13,60 @@ COMMENT= Linux Infrared Remote Control > > BUILD_DEPENDS= v4l_compat>=1.0.20110603:multimedia/v4l_compat > > -INSTALL_TARGET= install-strip > -USES= alias autoreconf gmake libtool python tar:bzip2 > -USE_XORG= sm x11 > +USES= alias autoreconf gmake libtool localbase python tar:bzip2 > +USE_XORG= sm x11 ice > USE_CSTD= gnu89 > +INSTALL_TARGET= install-strip > USE_LDCONFIG= yes > > GNU_CONFIGURE= yes > CONFIGURE_ARGS= --enable-sandboxed --with-devdir=/var/run/lirc \ > --sysconfdir=${PREFIX}/etc > -CPPFLAGS+= -I${LOCALBASE}/include > -LIBS+= -L${LOCALBASE}/lib > > -OPTIONS_DEFINE= MINIMAL DEBUG UARTLIRC DOCS EXAMPLES > - > -MINIMAL_DESC= Build with minmal dependencies > -UARTLIRC_DESC= Install serial LIRC driver > - > USE_RC_SUBR= lircd > PORTDOCS= html images irxevent.keys lirc.css lirc.hwdb > PORTEXAMPLES= remotes > SUB_FILES= pkg-message lircd.conf > > -.if exists(${LOCALBASE}/lib/libvga.so.1) > -LIB_DEPENDS+= libvga.so:graphics/svgalib > -PLIST_SUB+= SMODE2= > -.else > -PLIST_SUB+= SMODE2="@comment " > -.endif > +OPTIONS_DEFINE= MINIMAL DEBUG UARTLIRC DOCS EXAMPLES > +OPTIONS_DEFINE_i386= SMODE2 # requires svgalib which is... > +OPTIONS_DEFINE_amd64= SMODE2 # ...only available on x86 > +OPTIONS_SUB= yes > > -MINIMAL_LIB_DEPENDS_OFF= libftdi.so:devel/libftdi \ > +MINIMAL_DESC= Build with minimal dependencies > +UARTLIRC_DESC= Install serial LIRC driver > +SMODE2_DESC= Build smode2 (shows signal waveform), requires svgalib > + > +MINIMAL_LIB_DEPENDS_OFF=libftdi.so:devel/libftdi \ > libirman.so:comms/libirman > MINIMAL_CONFIGURE_OFF= --with-driver=userspace > MINIMAL_CONFIGURE_ON= --with-driver=dvico > > DEBUG_CONFIGURE_ENABLE= debug > > -UARTLIRC_RUN_DEPENDS= uartlirc>=0.3:comms/uartlirc > +SMODE2_LIB_DEPENDS= libvga.so:graphics/svgalib > > +UARTLIRC_RUN_DEPENDS= uartlirc>=0.3:comms/uartlirc > + > post-patch: > @${REINPLACE_CMD} \ > -e 's/`$${LIBUSB_CONFIG} --libs`/-lusb/' \ > -e 's/`$${LIBUSB_CONFIG} --cflags`//' \ > ${WRKSRC}/configure.ac > > +post-install: > + ${INSTALL_DATA} ${WRKDIR}/lircd.conf ${STAGEDIR}${PREFIX}/etc/lircd.conf.sample > + @${MKDIR} ${STAGEDIR}/var/run/lirc > + > +post-install-MINIMAL-on: > + # bacause --with-driver is specified, it installs remotes/dvico/lircd.conf.fusionHDTV to etc/lircd/ > + # remove to not break the plist, but remote configs handling should probably be fixed... > + @${RM} -r ${STAGEDIR}${PREFIX}/etc/lirc > + > post-install-DOCS-on: > - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}/) > - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR}/) > - @(cd ${WRKSRC}/doc && ${INSTALL_DATA} irxevent.keys lirc.css lirc.hwdb ${STAGEDIR}${DOCSDIR}/) > + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "html images irxevent.keys lirc.css lirc.hwdb" ${STAGEDIR}${DOCSDIR}/) > + > post-install-EXAMPLES-on: > @(cd ${WRKSRC} && ${COPYTREE_SHARE} remotes ${STAGEDIR}${EXAMPLESDIR}/) > -post-install: > - @${INSTALL_DATA} ${WRKDIR}/lircd.conf ${STAGEDIR}${PREFIX}/etc/lircd.conf.sample > - @${MKDIR} ${STAGEDIR}/var/run/lirc > > .include > _______________________________________________ > svn-ports-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-ports-head > To unsubscribe, send any mail to "svn-ports-head-unsubscribe@freebsd.org" >