aboutsummaryrefslogtreecommitdiff
path: root/graphics/aqsis
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/aqsis')
-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'