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