aboutsummaryrefslogtreecommitdiff
path: root/www/dillo2/Makefile
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-05-02 00:09:37 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-05-02 00:09:37 +0000
commit5a07cde06f6e48b509ee83c1c1b95ec6931dc019 (patch)
treea6d8b41423bd810a5184b69772d547dbbc3882ec /www/dillo2/Makefile
parent9237e2b2df556f61df7a906a50550018106a70a2 (diff)
downloadports-5a07cde06f6e48b509ee83c1c1b95ec6931dc019.tar.gz
ports-5a07cde06f6e48b509ee83c1c1b95ec6931dc019.zip
Notes
Diffstat (limited to 'www/dillo2/Makefile')
-rw-r--r--www/dillo2/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/dillo2/Makefile b/www/dillo2/Makefile
index 6cd0a7b34587..8b1aa7d38e81 100644
--- a/www/dillo2/Makefile
+++ b/www/dillo2/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>