network/rsync: enable legacy uname
[unleashed-userland.git] / components / network / rsync / Makefile
blob22022314c8be3bbc5ef208f62344e1fb4a1dd123
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= rsync
29 COMPONENT_VERSION= 3.1.2
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
31 COMPONENT_PROJECT_URL= http://rsync.samba.org/
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
33 COMPONENT_ARCHIVE_HASH= \
34 sha256:ecfa62a7fa3c4c18b9eccd8c16eaddee4bd308a76ea50b5c02a5840f09c0a1c2
35 COMPONENT_ARCHIVE_URL= http://rsync.samba.org/ftp/rsync/src/$(COMPONENT_ARCHIVE)
36 COMPONENT_BUGDB= utility/rsync
38 COPYRIGHT_FILE= rsync.copyright
40 include $(WS_TOP)/make-rules/prep.mk
41 include $(WS_TOP)/make-rules/configure.mk
42 include $(WS_TOP)/make-rules/ips.mk
43 export UNAME_LEGACY=
45 CONFIGURE_OPTIONS += --prefix=/usr
46 CONFIGURE_OPTIONS += --with-included-popt
47 CONFIGURE_OPTIONS += --enable-xattr-support
49 # common targets
50 build: $(BUILD_32_and_64)
52 install: $(INSTALL_32_and_64)
54 test: $(NO_TESTS)
56 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
58 include $(WS_TOP)/make-rules/depend.mk
60 REQUIRED_PACKAGES += SUNWcs
61 REQUIRED_PACKAGES += system/library