Makefile revision 5680
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A
0N/A#
0N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/ACOMPILER= gcc
0N/ABUILD_BITS= 64
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= webalizer
0N/ACOMPONENT_VERSION= 2.23.8
0N/AHUMAN_VERSION= 2.23-08
0N/ACOMPONENT_PROJECT_URL= http://www.mrunix.net/webalizer/
0N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.bz2
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:b37524fbd98e97052a80d59f75e69f857468752cf74cc0eb0972e5fab02eb6f7
0N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.mrunix.net/pub/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
0N/A
0N/ATPNO= 27276
0N/A
0N/ATEST_TARGET= $(NO_TESTS)
0N/Ainclude $(WS_MAKE_RULES)/common.mk
0N/A
0N/A# Fix 64-bit linking via compiler.
0N/ALDFLAGS += $(CC_BITS)
0N/A
0N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
0N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
0N/A
0N/A# Adjust the log file pathname in the sample configuration file.
0N/ACOMPONENT_PRE_BUILD_ACTION += \
0N/A $(GSED) -i -e 's?lib/httpd/logs/?apache2/2.4/logs/?' \
0N/A $(SOURCE_DIR)/sample.conf
0N/A
0N/ACONFIGURE_OPTIONS += --enable-dns
0N/ACONFIGURE_OPTIONS += --with-gd=$(USRINCDIR)/gd2
0N/A
0N/A# webalizer is defining u_int64_t but also uses db.h
0N/A# which typedefs it, and parfait and gcc 4.7 aren't happy.
0N/ACC += -Du_int64_t=uint64_t
0N/ACONFIGURE_OPTIONS += c_cv_type_u_int64_t=yes
0N/A
0N/AREQUIRED_PACKAGES += database/berkeleydb-5
0N/AREQUIRED_PACKAGES += library/gd
0N/AREQUIRED_PACKAGES += library/zlib
0N/AREQUIRED_PACKAGES += system/library/math
0N/A