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