aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/aqsis
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-10-23 07:44:03 +0800
committergahr <gahr@FreeBSD.org>2008-10-23 07:44:03 +0800
commit8d3c9ecc6f3efdb1ee47a53b793b59b2019ab224 (patch)
treed3f1795be8d741efd4cc52b9870e5da18dfc3f7c /graphics/aqsis
parent395fb1ebadf11595f0422e2c0183b122e852794c (diff)
downloadfreebsd-ports-gnome-8d3c9ecc6f3efdb1ee47a53b793b59b2019ab224.tar.gz
freebsd-ports-gnome-8d3c9ecc6f3efdb1ee47a53b793b59b2019ab224.tar.zst
freebsd-ports-gnome-8d3c9ecc6f3efdb1ee47a53b793b59b2019ab224.zip
- Fix build on sparc64
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'