aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2007-04-09 16:59:42 +0800
committeroliver <oliver@FreeBSD.org>2007-04-09 16:59:42 +0800
commit880e36ea160fb297ae1585c2c0a606cf0818e31d (patch)
treee1f7dd3ac20b89f00a10d67964f18be542e7b59e /devel
parent61f2ca2bfa4cf76fd2af28da4498bb04180042c6 (diff)
downloadfreebsd-ports-gnome-880e36ea160fb297ae1585c2c0a606cf0818e31d.tar.gz
freebsd-ports-gnome-880e36ea160fb297ae1585c2c0a606cf0818e31d.tar.zst
freebsd-ports-gnome-880e36ea160fb297ae1585c2c0a606cf0818e31d.zip
fix compile on 32bit platforms
Noted by: pointyhat
Diffstat (limited to 'devel')
-rw-r--r--devel/physfs-devel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/physfs-devel/Makefile b/devel/physfs-devel/Makefile
index fac9e730acd5..5f291a4e1e29 100644
--- a/devel/physfs-devel/Makefile
+++ b/devel/physfs-devel/Makefile
@@ -37,7 +37,7 @@ post-patch:
s|CHECK_LIBRARY_EXISTS("readline" "history.*|SET(HAVE_LIBHISTORY TRUE)|g; \
s|" " \(readline curses\)|\1|' ${WRKSRC}/CMakeLists.txt
- @${REINPLACE_CMD} -e 's|define SIZEOF_INT |&9999|g' \
+ @${REINPLACE_CMD} -e 's|\(define SIZEOF_INT\) 4|\1 (LONG_BIT/8)|g' \
${WRKSRC}/platform/unix.c
do-configure::