summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-02-22 02:53:46 +0000
committerNathan Scott <nathans@sgi.com>2006-02-22 02:53:46 +0000
commitf6f3cd59a9cedc552b55757a991cbb295360d8c9 (patch)
treef790c3b8fe6078e88fd0f1184a6344c486e02c87
parent5a05b026b92d33d0babbc8c01cce11ded4c722b5 (diff)
downloadattr-f6f3cd59a9cedc552b55757a991cbb295360d8c9.tar.gz
attr package build updates for the GNU/Hurd (reported via Debian).
Merge of master-melb:xfs-cmds:25261a by kenmcd.
-rw-r--r--debian/changelog1
-rw-r--r--doc/CHANGES2
-rw-r--r--libattr/Makefile9
3 files changed, 9 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 81d59f8..439e8a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ attr (2.4.30-1) unstable; urgency=low
* Updated Polish translation.
* Initial Swedish translation (closes: #349234)
* Switched from debmake to debhelper.
+ * Build updates for GNU/Hurd (closes: #299095)
-- Nathan Scott <nathans@debian.org> Wed, 15 Feb 2006 20:43:49 +1100
diff --git a/doc/CHANGES b/doc/CHANGES
index c6dc102..dd67142 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,7 +1,7 @@
attr-2.4.30 (15 February 2006)
- Debian packaging updates (debmake out, debhelper in).
- Skip SGI DMF attributes when copying attrs between files.
- - Fix GNU/Hurd builds (no PATH_MAX macro).
+ - Fix GNU/Hurd builds (no PATH_MAX macro, dodge syscalls.c).
attr-2.4.29 (31 January 2006)
- Updated Polish translation.
diff --git a/libattr/Makefile b/libattr/Makefile
index 9d44f7c..697040c 100644
--- a/libattr/Makefile
+++ b/libattr/Makefile
@@ -1,6 +1,5 @@
#
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
-# http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
#
TOPDIR = ..
@@ -13,9 +12,15 @@ LT_CURRENT = 2
LT_REVISION = 0
LT_AGE = 1
-CFILES = libattr.c syscalls.c attr_copy_fd.c attr_copy_file.c attr_copy_check.c
+CFILES = libattr.c attr_copy_fd.c attr_copy_file.c attr_copy_check.c
HFILES = libattr.h
+ifeq ($(PKG_PLATFORM),linux)
+CFILES += syscalls.c
+else
+LSRCFILES = syscalls.c
+endif
+
LCFLAGS = -include libattr.h
default: $(LTLIBRARY)