pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/webalizer webalizer: fix png library name.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6015cc73ed21
branches: trunk
changeset: 382418:6015cc73ed21
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Jul 27 18:56:42 2022 +0000
description:
webalizer: fix png library name.
Add explicit png buildlink3.mk inclusion, since this uses png
directly.
Bump PKGREVISION.
diffstat:
www/webalizer/Makefile | 5 +++--
www/webalizer/distinfo | 3 ++-
www/webalizer/patches/patch-configure | 32 ++++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 3 deletions(-)
diffs (72 lines):
diff -r db7fe3932280 -r 6015cc73ed21 www/webalizer/Makefile
--- a/www/webalizer/Makefile Wed Jul 27 18:53:38 2022 +0000
+++ b/www/webalizer/Makefile Wed Jul 27 18:56:42 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.73 2021/02/20 14:37:23 bsiegert Exp $
+# $NetBSD: Makefile,v 1.74 2022/07/27 18:56:42 wiz Exp $
DISTNAME= webalizer-2.23-08-src
PKGNAME= webalizer-2.23.8
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/
EXTRACT_SUFX= .tar.bz2
@@ -53,5 +53,6 @@
BUILDLINK_TRANSFORM+= l:db:${BDB_TYPE}
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r db7fe3932280 -r 6015cc73ed21 www/webalizer/distinfo
--- a/www/webalizer/distinfo Wed Jul 27 18:53:38 2022 +0000
+++ b/www/webalizer/distinfo Wed Jul 27 18:56:42 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 11:31:13 nia Exp $
+$NetBSD: distinfo,v 1.21 2022/07/27 18:56:42 wiz Exp $
BLAKE2s (webalizer-2.23-08-src.tar.bz2) = 8f97b531ba3c0e1fb811c5864a52eebd05616ffc04c1f07b7bedb81c02411d49
SHA512 (webalizer-2.23-08-src.tar.bz2) = 23fe6e3ef1c85aa527ffafef16c31c13ad8e1f9feb774557c07a5c8fd6c67986b98180ef16d6cebe62d59c5f7ca214b8292e94ce8f195fa0541de9c5438fb9bd
@@ -10,4 +10,5 @@
SHA1 (patch-bb) = d8a5f6f60f53d6de8fc24d3b1844a052be0ad69a
SHA1 (patch-bc) = 98d263cfb585477798f620a6f3690680ce2759b6
SHA1 (patch-bd) = 21f074725a85de5d9d865b84cc88dc04919226d4
+SHA1 (patch-configure) = 8b4aaca2a8ec704313b9b4fed37b8479c85cf854
SHA1 (patch-preserve.c) = 5fc85459af088b773073f161a29160a2cff73ba8
diff -r db7fe3932280 -r 6015cc73ed21 www/webalizer/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webalizer/patches/patch-configure Wed Jul 27 18:56:42 2022 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-configure,v 1.1 2022/07/27 18:56:43 wiz Exp $
+
+Fix png library name.
+
+--- configure.orig 2010-10-09 06:19:22.000000000 +0000
++++ configure
+@@ -4695,13 +4695,13 @@ echo "$as_me: error: zlib.h header not f
+ fi
+
+
+-{ echo "$as_me:$LINENO: checking for main in -lpng" >&5
+-echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6; }
++{ echo "$as_me:$LINENO: checking for main in -lpng16" >&5
++echo $ECHO_N "checking for main in -lpng16... $ECHO_C" >&6; }
+ if test "${ac_cv_lib_png_main+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpng $LIBS"
++LIBS="-lpng16 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -4751,7 +4751,7 @@ fi
+ { echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5
+ echo "${ECHO_T}$ac_cv_lib_png_main" >&6; }
+ if test $ac_cv_lib_png_main = yes; then
+- LIBPNG="yes"; LIBS="-lpng ${LIBS}"
++ LIBPNG="yes"; LIBS="-lpng16 ${LIBS}"
+ else
+ LIBPNG="no"
+ fi
Home |
Main Index |
Thread Index |
Old Index