From owner-svn-ports-all@freebsd.org Tue Nov 12 02:53:12 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74F9B1C6374; Tue, 12 Nov 2019 02:53:12 +0000 (UTC) (envelope-from yuri@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 47BskJ2RP4z40Yy; Tue, 12 Nov 2019 02:53:12 +0000 (UTC) (envelope-from yuri@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 3716321358; Tue, 12 Nov 2019 02:53:12 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAC2rCkB046290; Tue, 12 Nov 2019 02:53:12 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAC2rC9O046289; Tue, 12 Nov 2019 02:53:12 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201911120253.xAC2rC9O046289@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 12 Nov 2019 02:53:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517301 - head/lang/mujs X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/lang/mujs X-SVN-Commit-Revision: 517301 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 02:53:12 -0000 Author: yuri Date: Tue Nov 12 02:53:11 2019 New Revision: 517301 URL: https://svnweb.freebsd.org/changeset/ports/517301 Log: lang/mujs: Enable the static library; Strip the shared library. Modified: head/lang/mujs/Makefile Modified: head/lang/mujs/Makefile ============================================================================== --- head/lang/mujs/Makefile Tue Nov 12 01:10:29 2019 (r517300) +++ head/lang/mujs/Makefile Tue Nov 12 02:53:11 2019 (r517301) @@ -2,6 +2,7 @@ PORTNAME= mujs DISTVERSION= 1.0.6 +PORTREVISION= 1 CATEGORIES= lang devel PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/ @@ -17,8 +18,8 @@ USES= compiler:c11 gmake readline # c11 is induced by USE_GITHUB= yes GH_ACCOUNT= ccxvii USE_LDCONFIG= yes -ALL_TARGET= shared -INSTALL_TARGET= install-shared +ALL_TARGET= shared static +INSTALL_TARGET= install-shared install-static .if defined(WITH_DEBUG) # this project manages its build options itself MAKE_ARGS= build=debug @@ -27,6 +28,10 @@ MAKE_ARGS= build=debug PLIST_FILES= bin/mujs \ include/mujs.h \ lib/libmujs.so \ + lib/libmujs.a \ libdata/pkgconfig/mujs.pc + +post-install: # https://github.com/ccxvii/mujs/issues/99 + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmujs.so .include