summaryrefslogtreecommitdiff
path: root/graphics/aqsis/Makefile
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-10-22 23:44:03 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-10-22 23:44:03 +0000
commit1301512c0ce99276fe623dfcb587f1829c38202e (patch)
treeba3a91480a6529072ad42205e9ce0636cee804e9 /graphics/aqsis/Makefile
parentCorrect a typo. (diff)
- Fix build on sparc64
Diffstat (limited to 'graphics/aqsis/Makefile')
-rw-r--r--graphics/aqsis/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/aqsis/Makefile b/graphics/aqsis/Makefile
index aac7f22d6a9e..e1a9700bd70e 100644
--- a/graphics/aqsis/Makefile
+++ b/graphics/aqsis/Makefile
@@ -37,6 +37,10 @@ CMAKE_ARGS= -DAQSIS_BOOST_FILESYSTEM_LIBRARY:FILEPATH=${LOCALBASE}/lib/libboost_
USE_LDCONFIG= yes
USE_CMAKE= yes
+post-patch:
+ ${REINPLACE_CMD} -e '54s/$$/ || defined(__sparc64__)/' \
+ ${WRKSRC}/renderer/ddmanager/ndspy.h
+
post-configure:
${FIND} ${WRKSRC} -name "build.make" -o -name "link.txt" -o -name "relink.txt" \
| ${XARGS} ${REINPLACE_CMD} -i "" -e 's|-ldl||g'