pkgsrc/devel/log4cplus/Makefile
rillig 84f2203288 all: migrate some SourceForge homepage URLs back from https to http
https://mail-index.netbsd.org/pkgsrc-changes/2020/01/18/msg205146.html

In the above commit, the homepage URLs were migrated from http to https,
assuming that SourceForge would use the same host names for both http and
https connections. This assumption was wrong. Their documentation at
https://sourceforge.net/p/forge/documentation/Custom%20VHOSTs/ states
that the https URLs use the domain sourceforge.io instead.

To make the homepages from the above commit reachable again, pkglint has
been extended to check for reachable homepages. This check is only
enabled when the --network command line option is given.

Each of the homepages that referred to https://$project.sourceforge.net
before was migrated to https://$project.sourceforge.io (27), and if that
was not reachable, to the fallback URL http://$project.sourceforge.net
(163).
2020-01-26 05:26:08 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2020/01/26 05:26:24 rillig Exp $
#
DISTNAME= log4cplus-2.0.3
CATEGORIES= devel
GITHUB_RELEASE= REL_2_0_3
MASTER_SITES= ${MASTER_SITE_GITHUB:=log4cplus/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= https://log4cplus.sourceforge.io/
COMMENT= Logging API for C++
LICENSE= apache-2.0 AND 2-clause-bsd
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config autoconf automake autoreconf gmake
USE_LANGUAGES= c99 c++11 # C for configure
CONFIGURE_ARGS+= --with-iconv
CONFIGURE_ARGS+= --without-wchar_t-support
CONFIGURE_ARGS+= --without-qt
CONFIGURE_ARGS+= --without-qt5
CONFIGURE_ARGS+= --without-python
LDFLAGS.SunOS+= -liconv
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CPPFLAGS+= -Werror=ignored-attributes
.endif
CHECK_BUILTIN.pthread:= yes
.include "../../mk/pthread.builtin.mk"
CHECK_BUILTIN.pthread:= no
CONFIGURE_ARGS+= --enable-threads
# TLS is not supported by NetBSD<6
.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
CONFIGURE_ENV+= ac_cv_thread_local=no
CONFIGURE_ENV+= ac_cv__thread_keyword=no
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"