From owner-svn-ports-head@freebsd.org Mon Jan 28 13:46:21 2019 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 09F0A14B49CF; Mon, 28 Jan 2019 13:46:21 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1F698CCB3; Mon, 28 Jan 2019 13:46:20 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 933D7207DE; Mon, 28 Jan 2019 13:46:20 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0SDkKL4086548; Mon, 28 Jan 2019 13:46:20 GMT (envelope-from dinoex@FreeBSD.org) Received: (from dinoex@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0SDkKR9086547; Mon, 28 Jan 2019 13:46:20 GMT (envelope-from dinoex@FreeBSD.org) Message-Id: <201901281346.x0SDkKR9086547@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dinoex set sender to dinoex@FreeBSD.org using -f From: Dirk Meyer Date: Mon, 28 Jan 2019 13:46:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r491485 - head/irc/iroffer-dinoex X-SVN-Group: ports-head X-SVN-Commit-Author: dinoex X-SVN-Commit-Paths: head/irc/iroffer-dinoex X-SVN-Commit-Revision: 491485 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A1F698CCB3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 28 Jan 2019 13:46:21 -0000 Author: dinoex Date: Mon Jan 28 13:46:20 2019 New Revision: 491485 URL: https://svnweb.freebsd.org/changeset/ports/491485 Log: - fix build on non-x86 architectures PR: 235069 Submitted by: Mark Linimon Modified: head/irc/iroffer-dinoex/Makefile Modified: head/irc/iroffer-dinoex/Makefile ============================================================================== --- head/irc/iroffer-dinoex/Makefile Mon Jan 28 13:20:32 2019 (r491484) +++ head/irc/iroffer-dinoex/Makefile Mon Jan 28 13:46:20 2019 (r491485) @@ -2,7 +2,7 @@ PORTNAME= iroffer PORTVERSION= 3.31 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc MASTER_SITES= https://iroffer.net/ PKGNAMESUFFIX= -dinoex${PKGNAMESUFFIX2} @@ -46,12 +46,21 @@ OPTIONS_DEFAULT=CURL RUBY UPNP CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_ON= -curl RUBY_USE= RUBY=yes -RUBY_LIB_DEPENDS= lib${RUBY_NAME}.so:${RUBY_PORT} \ - libunwind.so:devel/libunwind +RUBY_LIB_DEPENDS= lib${RUBY_NAME}.so:${RUBY_PORT} RUBY_CONFIGURE_ON= -ruby UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc UPNP_CONFIGURE_ON= -upnp +.include + +.if ${PORT_OPTIONS:MRUBY} +# make stage-qa happy +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind +.endif +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/iroffer-de ${STAGEDIR}${PREFIX}/bin/ @@ -75,4 +84,4 @@ do-install-EXAMPLES-on: ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${EXAMPLESDIR}/ .endfor -.include +.include