From nobody Tue May 28 10:22:43 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VpT9J28TDz5LxHC; Tue, 28 May 2024 10:22:44 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VpT9J0RF8z4HKT; Tue, 28 May 2024 10:22:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716891764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9dgamBqHQ/rPSlOOYhUwzGiN6xA3pNkwwUD3xO0Wh4Y=; b=lLjnfjQYtyPNoibJKzxV8wMTKKDLwEmkU2xps3of7fUXDQoztFRPdp6nZK1VN7s9LrjYOL 33G0NaXA+T8IvhK8dW/6wBQhJomKQjXJYNLlgX+EC+8O842hVf2UpUHbViH1xAewceynSv 8bdL3l8MQ6Dy4piuMMHXbK0YIO5fX50hIbBhVXMMV2T/FBEMCra7QXKg6JbBRqlCoemlMX JCdip04hqabT6J1m276rpeZbQ6fu5+l6y8B79cQuTrS36UZ2bvAG78atrTR5tUY/klwWZL cD0OOSlCyYXri8rKuG+XJp8DmUddx7tPAvVYHBbHh+5jXfpf+nHSL+NQS02qVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716891764; a=rsa-sha256; cv=none; b=Ppwjjn7FfvJhSyxENPcfHwnc4+CapUhUl8NLLA6vTshEqqv8uIlYmaQyCJNCHPPaoEViB9 OxvsgrRgV1wRbCzWNwy3YRljoXFfbUmcSFuCMXu/cXRyXAcB6jCZFySJI1g1q9rxxs7Lgo C3YfL2WlNUO0sx/cB0AR5a2WMBnnB+e0um+FvU25jF/qwTSUZWyQq/A42q6C0BzYhot8n7 bPGr4y+d8N47yxu6I5jPODtgAMMBpuS2k7VoJ1VXAip/oDdY+7LUI6/u+3nXu6G8I3QIpA svLH0xlXnYEyOlMYtr2SqdhA5DSIB2jO2Nc7yDb0ODoPo20CFmwAKsVDML3EMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716891764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9dgamBqHQ/rPSlOOYhUwzGiN6xA3pNkwwUD3xO0Wh4Y=; b=pf6TPgfYfiR3bBsRnpNAEgMq1aK6WeJM4ZekYlD6VehJXGv1eN8cIIw35xsDabeGhCNNVw I9nVolcjZab1MeZwYRSuAn7T6OP5tCghTw4th0n1vHsugeoN8210SozuxsALGU5LzuNJu3 +6jp1aLj5HDEcYsc2FjHiu6SqTICUd7AwAkFBJu6lWeN8VZnpFD51Q1cQoW5OIqdOkGda8 HsUVhzkjOLkjeVcDQVO2vQUQrM54asKbWWkfFAJtZzSQyXStAmZ0KagB7yHculGglNkwEF 2XA7372q561VDgemGpHZ9YmVttXLTnqk9VfA6BZm6COuDfxm3NdNDC/zgeg/wg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VpT9J035Dz1Nkf; Tue, 28 May 2024 10:22:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44SAMh6p028584; Tue, 28 May 2024 10:22:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44SAMhdh028581; Tue, 28 May 2024 10:22:43 GMT (envelope-from git) Date: Tue, 28 May 2024 10:22:43 GMT Message-Id: <202405281022.44SAMhdh028581@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: f3d30e7cfe7e - main - graphics/openjpeg: Adjust d780766fef98ca7b1fb21ea53357b0aefb433207 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f3d30e7cfe7e7fdc2ed3312235c6207e400b51cd Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3d30e7cfe7e7fdc2ed3312235c6207e400b51cd commit f3d30e7cfe7e7fdc2ed3312235c6207e400b51cd Author: Po-Chuan Hsieh AuthorDate: 2024-05-28 09:59:50 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-05-28 10:21:25 +0000 graphics/openjpeg: Adjust d780766fef98ca7b1fb21ea53357b0aefb433207 --- graphics/openjpeg/Makefile | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/graphics/openjpeg/Makefile b/graphics/openjpeg/Makefile index d811361b5321..11a507db916e 100644 --- a/graphics/openjpeg/Makefile +++ b/graphics/openjpeg/Makefile @@ -18,15 +18,6 @@ LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ USES= cmake cpe localbase:ldflags jpeg pathfix pkgconfig -# Clean up bundled libraries -EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/astyle \ - --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/include \ - --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/liblcms2 \ - --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/libpng \ - --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/libtiff \ - --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/libz \ - --no-same-owner --no-same-permissions - CMAKE_OFF= BUILD_DOC \ BUILD_JAVA \ BUILD_JPIP \ @@ -49,4 +40,23 @@ USE_GITHUB= yes CPE_VENDOR= uclouvain +# Clean up bundled libraries +.if !defined(MAINTAINER_MODE) +EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/astyle \ + --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/include \ + --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/liblcms2 \ + --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/libpng \ + --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/libtiff \ + --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/libz \ + --no-same-owner --no-same-permissions +.else +post-patch: + @${RM} -r ${WRKSRC}/thirdparty/astyle/ + @${RM} -r ${WRKSRC}/thirdparty/include/ + @${RM} -r ${WRKSRC}/thirdparty/liblcms2/ + @${RM} -r ${WRKSRC}/thirdparty/libpng/ + @${RM} -r ${WRKSRC}/thirdparty/libtiff/ + @${RM} -r ${WRKSRC}/thirdparty/libz/ +.endif + .include