aboutsummaryrefslogtreecommitdiffstats
path: root/www/dillo/Makefile
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2002-05-02 08:09:37 +0800
committeranders <anders@FreeBSD.org>2002-05-02 08:09:37 +0800
commit8c6687a1ca446bd93f2f9649c6b6f76ce645e888 (patch)
tree353f18bbea4a71e3a89b2b96d36320d3227e007b /www/dillo/Makefile
parent7e3f1747b16cf8e814978128c01c8c227991ad58 (diff)
downloadfreebsd-ports-gnome-8c6687a1ca446bd93f2f9649c6b6f76ce645e888.tar.gz
freebsd-ports-gnome-8c6687a1ca446bd93f2f9649c6b6f76ce645e888.tar.zst
freebsd-ports-gnome-8c6687a1ca446bd93f2f9649c6b6f76ce645e888.zip
Update to 0.6.5.
Diffstat (limited to 'www/dillo/Makefile')
-rw-r--r--www/dillo/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/dillo/Makefile b/www/dillo/Makefile
index 6cd0a7b34587..8b1aa7d38e81 100644
--- a/www/dillo/Makefile
+++ b/www/dillo/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dillo
-PORTVERSION= 0.6.4
-PORTREVISION= 1
+PORTVERSION= 0.6.5
CATEGORIES= www
MASTER_SITES= http://dillo.cipsga.org.br/download/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
@@ -23,9 +22,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \
--libdir="${LOCALBASE}/lib" \
--with-jpeg-inc="${LOCALBASE}/include"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
USE_GMAKE= yes
post-patch:
- ${PERL} -pi -e "s@-lpthread@${PTHREAD_LIBS}@g" ${WRKSRC}/configure
+ ${PERL} -pi -e "s@-D_REENTRANT -D_THREAD_SAFE@@" ${WRKSRC}/configure
+ ${PERL} -pi -e "s@dillorc@dillorc.sample@g" ${WRKSRC}/Makefile.in
+ ${MV} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample
+ ${PERL} -pi -e "s@/usr/local/etc/dillorc@${PREFIX}/etc/dillorc@g" \
+ ${WRKSRC}/src/prefs.c
.include <bsd.port.mk>