diff options
author | linimon <linimon@FreeBSD.org> | 2018-10-28 19:37:47 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2018-10-28 19:37:47 +0800 |
commit | 0d11b5cb5a559e4496c14c3dfd2625595151df0b (patch) | |
tree | ac4812e80bac766051042f82592bcb622d519b52 | |
parent | f801ffcde3b78288d18080e220fb576a6adca7d1 (diff) | |
download | freebsd-ports-gnome-0d11b5cb5a559e4496c14c3dfd2625595151df0b.tar.gz freebsd-ports-gnome-0d11b5cb5a559e4496c14c3dfd2625595151df0b.tar.zst freebsd-ports-gnome-0d11b5cb5a559e4496c14c3dfd2625595151df0b.zip |
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)
-rw-r--r-- | graphics/nvidia-texture-tools/Makefile | 11 |
1 files 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 |