FreeBSD Bugzilla – Attachment 169524 Details for
Bug 208858
graphics/nvidia-texture-tools missing libnvtt.a for static linking
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to make graphics/nvidia-texture-tools install static libraries
nvidia-texture-tools-static.patch (text/plain), 1.13 KB, created by
Dmitry Marakasov
on 2016-04-21 14:36:21 UTC
(
hide
)
Description:
Patch to make graphics/nvidia-texture-tools install static libraries
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2016-04-21 14:36:21 UTC
Size:
1.13 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 413723) >+++ Makefile (working copy) >@@ -25,11 +25,8 @@ > GH_ACCOUNT= castano > > USES= alias cmake jpeg >-CMAKE_ARGS= -DNVTT_SHARED=TRUE >+CMAKE_ARGS= -DNVTT_SHARED=FALSE > >-CFLAGS+= -fPIC >-CXXFLAGS+= -fPIC >- > PORTDOCS= NVIDIA_Texture_Tools_README.txt ChangeLog > > ONLY_FOR_ARCHS= i386 amd64 powerpc powerpc64 # see src/nvcore/nvcore.h >@@ -40,6 +37,9 @@ > COMPRESSUI_DESC=Build compressor UI (requires Qt4) > COMPRESSUI_USE= QT4=qmake_build,moc_build,uic_build,rcc_build,corelib,gui,opengl > >+post-patch: >+ @${REINPLACE_CMD} -e 's|lib/static|lib|' ${WRKSRC}/src/*/CMakeLists.txt >+ > post-patch-COMPRESSUI-on: > @${REINPLACE_CMD} -e '/FIND_PACKAGE.*Qt4/ s|)$$| REQUIRED&|' \ > ${WRKSRC}/src/CMakeLists.txt >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 413722) >+++ pkg-plist (working copy) >@@ -6,7 +6,7 @@ > bin/nvimgdiff > bin/nvzoom > include/nvtt/nvtt.h >-lib/libnvcore.so >-lib/libnvimage.so >-lib/libnvmath.so >-lib/libnvtt.so >+lib/libnvcore.a >+lib/libnvimage.a >+lib/libnvmath.a >+lib/libnvtt.a
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208858
: 169524