Makefile revision 181
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# CDDL HEADER START
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# The contents of this file are subject to the terms of the
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# Common Development and Distribution License (the "License").
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# You may not use this file except in compliance with the License.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# See the License for the specific language governing permissions
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# and limitations under the License.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# When distributing Covered Code, include this CDDL HEADER in each
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# If applicable, add the following below this CDDL HEADER, with the
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# fields enclosed by brackets "[]" replaced with your own identifying
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# information: Portions Copyright [yyyy] [name of copyright owner]
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# CDDL HEADER END
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qsCOMPONENT_ARCHIVE_HASH= sha1:cd8d806752aa6f5716cf193585024a002e098bf4
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qsCOMPONENT_ARCHIVE_URL= http://kernel.org/pub/software/scm/git/$(COMPONENT_ARCHIVE)
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# man pages are a separate archive
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qsCOMPONENT_ARCHIVE_1 = $(COMPONENT_NAME)-manpages-$(COMPONENT_VERSION).tar.bz2
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qsCOMPONENT_ARCHIVE_HASH_1 = sha1:0be6fabbca523085e185711f2b80c99330f1e4ac
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qsCOMPONENT_ARCHIVE_URL_1 = http://kernel.org/pub/software/scm/git/$(COMPONENT_ARCHIVE_1)
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qsCONFIGURE_OPTIONS += --with-perl=/usr/perl5/$(PERL_VERSION)/bin/perl
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qsCOMPONENT_INSTALL_ENV+= PERL_LIB=$(shell /usr/perl5/$(PERL_VERSION)/bin/perl -MConfig -e 'print "$$Config{installvendorarch}"')
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# This runs configure but configure doesn't generate a Makefile.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# Instead a Makefile comes with git ...
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# Anyways viewpathing doesn't work.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# Therefore we need cloney to copy a set of files to build.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# Processed man pages go here.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# tests fully pass when done in the archive directory.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# fail here; probably due to the use of cloney.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# I know. It's ugly.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# But these man pages come in a separate archive with no Makefile
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# and Solaris likes some of them moved around hence we'll just
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs# do it manually here.
3dec9fcdd56adf1b4a563137b4915c8f2d83b881qs cd $(BUILD_DIR) ; $(UNPACK) $(UNPACK_ARGS) ../$(COMPONENT_ARCHIVE_1)