summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-01-26 11:31:22 +0000
committerkris <kris@FreeBSD.org>2002-01-26 11:31:22 +0000
commit4cec0a72cc948ffb221af42d3895e4ca93bc9389 (patch)
treeb1afebf69b68ce5acc3281dcf107079a43974ef3 /www
parente988cb21de4a018da3b034dd257924e65b686bce (diff)
downloadFreeBSD-ports-4cec0a72cc948ffb221af42d3895e4ca93bc9389.zip
FreeBSD-ports-4cec0a72cc948ffb221af42d3895e4ca93bc9389.tar.gz
Fix build on -current.
On an editorial note, I don't know what value there is in keeping this port in FreeBSD. Mosaic cannot even render its own homepage any more, because someone clever went and rewrote it in modern html complete with javascript. Farewell, 1997; hello 2002 :-)
Diffstat (limited to 'www')
-rw-r--r--www/Mosaic/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/Mosaic/Makefile b/www/Mosaic/Makefile
index fd4efc9..9a36fc6 100644
--- a/www/Mosaic/Makefile
+++ b/www/Mosaic/Makefile
@@ -24,6 +24,19 @@ ALL_TARGET= bsdi
USE_X_PREFIX= yes
USE_XPM= yes
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/libXmx/Xmx.h ${WRKSRC}/libdtm/dtm.c \
+ ${WRKSRC}/libdtm/dtm.c ${WRKSRC}/libdtm/dtm.c \
+ ${WRKSRC}/libdtm/dtm.c ${WRKSRC}/libdtm/dtminit.c \
+ ${WRKSRC}/libdtm/dtminit.c ${WRKSRC}/libdtm/dtminit.c \
+ ${WRKSRC}/libdtm/dtminit.c ${WRKSRC}/libdtm/dtmnserv.c \
+ ${WRKSRC}/libdtm/dtmnserv.c ${WRKSRC}/libhtmlw/HTML-PSformat.c \
+ ${WRKSRC}/libhtmlw/HTML-PSformat.c ${WRKSRC}/libwww2/HTUtils.h \
+ ${WRKSRC}/libwww2/HTUtils.h ${WRKSRC}/src/mosaic.h \
+ ${WRKSRC}/src/mosaic.h ${WRKSRC}/src/proxy-dialogs.c \
+ ${WRKSRC}/src/proxy-dialogs.c
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/Mosaic ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/app-defaults.color ${PREFIX}/lib/X11/app-defaults/Mosaic
OpenPOWER on IntegriCloud