diff options
author | dinoex <dinoex@FreeBSD.org> | 2007-05-25 12:07:45 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2007-05-25 12:07:45 +0800 |
commit | 3704669214ca5db2a22584a93df4a750ce1bf520 (patch) | |
tree | 862228515095038dffb4e73bb45ecc98af5d2b9b /www/webalizer | |
parent | 3053653676ed842a00d1926625ceb19b95bcedda (diff) | |
download | freebsd-ports-gnome-3704669214ca5db2a22584a93df4a750ce1bf520.tar.gz freebsd-ports-gnome-3704669214ca5db2a22584a93df4a750ce1bf520.tar.zst freebsd-ports-gnome-3704669214ca5db2a22584a93df4a750ce1bf520.zip |
- new option WITHOUT_WEBALIZER_FULLREFS
default now shows full references
Submitted by: Andrey Chernov
Diffstat (limited to 'www/webalizer')
-rw-r--r-- | www/webalizer/Makefile | 6 | ||||
-rw-r--r-- | www/webalizer/files/webalizer-fullrefs.patch | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile index 4437205db6dd..e8a7fcc5e09a 100644 --- a/www/webalizer/Makefile +++ b/www/webalizer/Makefile @@ -7,7 +7,7 @@ PORTNAME= webalizer PORTVERSION= 2.1.10 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES+= www MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/:main \ ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/:main \ @@ -106,6 +106,10 @@ CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -liconv" CFLAGS+= -I${LOCALBASE}/include .endif +.if !defined(WITHOUT_WEBALIZER_FULLREFS) +EXTRA_PATCHES+= ${FILESDIR}/webalizer-fullrefs.patch +.endif + do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} diff --git a/www/webalizer/files/webalizer-fullrefs.patch b/www/webalizer/files/webalizer-fullrefs.patch new file mode 100644 index 000000000000..fcefe4ce775e --- /dev/null +++ b/www/webalizer/files/webalizer-fullrefs.patch @@ -0,0 +1,11 @@ +--- webalizer.c.bak Wed May 2 12:48:56 2007 ++++ webalizer.c Wed May 2 12:49:35 2007 +@@ -821,7 +821,7 @@ + { + /* Save query portion in log.rec.srchstr */ + strncpy(log_rec.srchstr,cp1,MAXSRCH); +- *cp1++='\0'; ++ cp1++; + break; + } + else cp1++; |