aboutsummaryrefslogtreecommitdiff
path: root/graphics/nvidia-texture-tools/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-04-02 00:29:32 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-04-02 00:29:32 +0000
commit8ace6f3c60e27160502040905d6da07a839b9f8b (patch)
tree804b0c923ad152d6aea6d65f4f67b83ad69a0c86 /graphics/nvidia-texture-tools/Makefile
parentb746cab7b593f4028706de5c99442c54a3947b68 (diff)
downloadports-8ace6f3c60e27160502040905d6da07a839b9f8b.tar.gz
ports-8ace6f3c60e27160502040905d6da07a839b9f8b.zip
Notes
Diffstat (limited to 'graphics/nvidia-texture-tools/Makefile')
-rw-r--r--graphics/nvidia-texture-tools/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/nvidia-texture-tools/Makefile b/graphics/nvidia-texture-tools/Makefile
index 74ef7a9bb4f8..b1e3c61e5175 100644
--- a/graphics/nvidia-texture-tools/Makefile
+++ b/graphics/nvidia-texture-tools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nvidia-texture-tools
PORTVERSION= 2.0.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -21,6 +21,11 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
USE_CMAKE= yes
CMAKE_USE_PTHREAD=yes
+CMAKE_ARGS= -DNVTT_SHARED=TRUE
+MAKE_JOBS_SAFE= yes
+
+CFLAGS+= -fPIC
+CXXFLAGS+= -fPIC
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -53,8 +58,6 @@ post-patch:
@${REINPLACE_CMD} -e '/FIND_PACKAGE.*Qt4/ d' \
${WRKSRC}/src/CMakeLists.txt
.endif
- @${FIND} ${WRKSRC} -name CMakeLists.txt -print0 | ${XARGS} -0 \
- ${REINPLACE_CMD} -e '/ARCHIVE/ s|/static||'
.if !defined(NOPORTDOCS)
post-install: