aboutsummaryrefslogtreecommitdiffstats
path: root/www/dillo
diff options
context:
space:
mode:
Diffstat (limited to 'www/dillo')
-rw-r--r--www/dillo/Makefile10
-rw-r--r--www/dillo/distinfo2
-rw-r--r--www/dillo/pkg-plist1
3 files changed, 9 insertions, 4 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>
diff --git a/www/dillo/distinfo b/www/dillo/distinfo
index 918969bdac0d..565dec868f25 100644
--- a/www/dillo/distinfo
+++ b/www/dillo/distinfo
@@ -1 +1 @@
-MD5 (dillo-0.6.4.tar.gz) = e578f1922ee69658e42167a561362d37
+MD5 (dillo-0.6.5.tar.gz) = e36cd8b36aa7e9a926d1c470904f8bdf
diff --git a/www/dillo/pkg-plist b/www/dillo/pkg-plist
index b339b7ba6971..55cd6a92826f 100644
--- a/www/dillo/pkg-plist
+++ b/www/dillo/pkg-plist
@@ -1 +1,2 @@
bin/dillo
+etc/dillorc.sample