From 0d11b5cb5a559e4496c14c3dfd2625595151df0b Mon Sep 17 00:00:00 2001 From: linimon Date: Sun, 28 Oct 2018 11:37:47 +0000 Subject: Fix build on GCC-based architectures. Remove useless BROKEN_sparc64 line; it is obviated by ARCHS. While here, pet portlint. PR: 231608 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) --- graphics/nvidia-texture-tools/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/graphics/nvidia-texture-tools/Makefile b/graphics/nvidia-texture-tools/Makefile index 2fc0fc263fc0..fd319b4f9be7 100644 --- a/graphics/nvidia-texture-tools/Makefile +++ b/graphics/nvidia-texture-tools/Makefile @@ -12,21 +12,18 @@ COMMENT= Texture Tools with support for DirectX 10 texture formats LICENSE= MIT LICENSE_FILE= ${WRKSRC}/NVIDIA_Texture_Tools_LICENSE.txt +# see src/nvcore/nvcore.h +ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 + LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libIlmImf.so:graphics/openexr -BROKEN_powerpc= does not build -BROKEN_sparc64= does not build - -# see src/nvcore/nvcore.h -ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 - USE_GITHUB= yes GH_ACCOUNT= castano GH_TAGNAME= ${PORTVERSION:R} -USES= alias cmake jpeg +USES= alias cmake compiler:c++11-lang jpeg CMAKE_ARGS= -DNVTT_SHARED=TRUE CFLAGS+= -fPIC -- cgit