From nobody Sat Aug 26 17:07:56 2023 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 4RY3DD5jhkz4qm2W; Sat, 26 Aug 2023 17:07:56 +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 4RY3DD3qcgz3cCp; Sat, 26 Aug 2023 17:07:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693069676; 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=DHepQxqhQzIM9aO3CByxT5H2s6RW7j+Kr2goucXk9HE=; b=kCLJO7/75dquZjEnUypiVqwhj+fRwKkazbaMjRNGhWjIZAM8J+2AS3ZaLabGoBpkcue5oG gyn6U7zKUqkoGPrS5cPfK87m8LXgXz/i7GjuhzC8xeLkireE6kJwLS9WUvceGSgxq/DRTV gnKibSmFc9qtwoGHld2oaC4KYmoiprJCOVk0I+/XyVGo7HUOV8U6RaLGdfWfblgZ+4oZkn J9qLem49vWA2x/e6jvYwsIpamoioUGrMyQs+0evnaQzw9c33WvdaCIONzsaeXJzbp5VzAl GbPwrCUbRZJnqaUQ5pvotvncWYq96pyUVUH062AiEjH2ndh31I5HpsnKs7NfIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693069676; 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=DHepQxqhQzIM9aO3CByxT5H2s6RW7j+Kr2goucXk9HE=; b=nc+0iz5Nju2WN0awpWeOJDmTcu+uYQG4fQ6002EZo5finBdmcbOoJZIGAlEsmYQqxGItd4 PwXYtCzvr67PnQV9cKqtimN56oFo/1h4Y0SOGgDaBKhkuhcWC+zcqEnyHg494QIag8uumI MpU+I15sH22GX29+E0BATDCOD1odk90ZAMsKhbxxDit9LtWUKbmyxCvnDhcbJrAMq6X7Kr tlUjLxP0KWgW2FTJIt+QGrImQCaoY2Q2PNX9r6zqeAHHPyIEitHu0zuzEMDQB2betP/cLh JWOROn8te6Z7K2eA8ise9xvcWX+vaZLrMsdoSCxQQaYH4GlaHKcQQDGh8n1c7g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693069676; a=rsa-sha256; cv=none; b=mw4gm/O8u22JZplqOgTptiCaQYZ5NNQUvkMRZyr+i9kAhMPmucQ0eQVdkSRHduPfiKZOpo QJxypWJbYFDq1QyE+jK1kyq7wrNoX5RfwypdWU3CDit3S+7Lh9O2Yo5EoH0T0C5U4bhU1I G4Yj3XNodjqYFYwMKlCRM4rfbKP6lpuAqO8amZd+EdlJTnalzXmdPJTP1IX5uzHFWj9D38 kAa5qArQwFe9WD5kdiPUmm8OsPlE2CaNCVH2QpDMGqBfPGFRcWij8qpTa8U24PpBgbNRqk AXiVDgMcommLNsYN0AhJf0anO++c84ktV8IlnucfcaEZDGuX+OUVOm4qjwgoxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RY3DD2rrqzjwQ; Sat, 26 Aug 2023 17:07:56 +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 37QH7uUi048918; Sat, 26 Aug 2023 17:07:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37QH7u7l048915; Sat, 26 Aug 2023 17:07:56 GMT (envelope-from git) Date: Sat, 26 Aug 2023 17:07:56 GMT Message-Id: <202308261707.37QH7u7l048915@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 9549a20a0be5 - main - graphics/povray38: Remove NATIVE option and do some cleanups 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9549a20a0be5687d170dc419de5e5c8f1026af8c Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=9549a20a0be5687d170dc419de5e5c8f1026af8c commit 9549a20a0be5687d170dc419de5e5c8f1026af8c Author: Daniel Engberg AuthorDate: 2023-08-26 17:03:12 +0000 Commit: Daniel Engberg CommitDate: 2023-08-26 17:03:18 +0000 graphics/povray38: Remove NATIVE option and do some cleanups - Drop NATIVE option, utilize CPUTYPE instead which is supported using the framework via /etc/make.conf - Don't override optimization set by framework - Utilize framework helpers more and do some slight rearrangement for better readability and consistency with Porters Handbook PR: 273098 Reviewed by: Philipp Ost (maintainer) Sponsored by: Blinkinblox --- graphics/povray38/Makefile | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/graphics/povray38/Makefile b/graphics/povray38/Makefile index 1828c786dce3..fb01cfb733ab 100644 --- a/graphics/povray38/Makefile +++ b/graphics/povray38/Makefile @@ -16,27 +16,29 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs -USES= compiler:c++11-lang gmake +USES= compiler:c++14-lang gmake USE_CXXSTD= c++14 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --program-transform-name='s/povray/${PKGBASE}/' \ - COMPILED_BY=${MAINTAINER} -VERSION_BASE= ${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/} +WRKSRC= ${WRKDIR}/${DISTNAME} +VERSION_BASE= ${DISTVERSION:C/([0-9]+\.[0-9]+).*/\1/} + DATADIR= ${PREFIX}/share/${PORTNAME}-${VERSION_BASE} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${VERSION-BASE} ETCDIR= ${PREFIX}/etc/${PORTNAME}/${VERSION_BASE} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${VERSION_BASE} -OPTIONS_DEFINE= DOCS EXAMPLES IO JPEG OPENEXR OPTIMIZED_CFLAGS PNG TIFF \ +CONFIGURE_ARGS= --disable-optimiz \ + --program-transform-name='s/povray/${PKGBASE}/' \ + COMPILED_BY=${HOSTARCH}-portbld-${OPSYS:tl}-${OSREL:R} + +OPTIONS_DEFINE= DOCS EXAMPLES IO JPEG OPENEXR PNG TIFF \ X11 OPTIONS_DEFAULT= JPEG PNG TIFF OPTIONS_SUB= yes -DOCS_DESC= Install HTML documentation -EXAMPLES_DESC= Install example scenes -IO_DESC= Without I/O restrictions (security risk) +IO_DESC= Without I/O restrictions (security risk) IO_CONFIGURE_ON= --disable-io-restrictions @@ -45,27 +47,19 @@ JPEG_CONFIGURE_OFF= --without-libjpeg OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr -OPENEXR_CONFIGURE_ON= --with-openexr -OPENEXR_CONFIGURE_OFF= --without-openexr - -OPTIMIZED_CFLAGS_CONFIGURE_OFF= --disable-optimiz -OPTIMIZED_CFLAGS_CFLAGS= -march=native +OPENEXR_CONFIGURE_WITH= openexr PNG_LIB_DEPENDS= libpng.so:graphics/png -PNG_CONFIGURE_ON= --with-libpng -PNG_CONFIGURE_OFF= --without-libpng +PNG_CONFIGURE_WITH= libpng TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff -TIFF_CONFIGURE_ON= --with-libtiff -TIFF_CONFIGURE_OFF= --without-libtiff +TIFF_CONFIGURE_WITH= libtiff X11_USES= sdl xorg X11_USE= SDL=sdl \ XORG=ice,sm,x11,xpm X11_CONFIGURE_OFF= --without-x -WRKSRC= ${WRKDIR}/${DISTNAME} - .include .if !${PORT_OPTIONS:MJPEG} || !${PORT_OPTIONS:MPNG} || !${PORT_OPTIONS:MTIFF}