|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../evms/evms-2.5.5-as-needed.patch
|
|
|
|
# Copyright (C) 2006 The OpenSDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
Submitted by: Christian Wiese (morfoh at opensde.org)
|
|
|
|
Date: 2006-11-26
|
|
|
|
Initial Package Version: 2.5.5
|
|
|
|
Upstream Status: unknown
|
|
|
|
Origin: Gentoo Linux
|
|
|
|
http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/sys-fs/evms/files/evms-2.5.5-as-needed.patch?rev=1.1
|
|
|
|
Description: Fixes Makefile to work properly with --as-needed.
|
|
|
|
|
|
|
|
--- evms-2.5.5/tests/Makefile.in.orig 2006-06-01 15:18:29.508172755 +0200
|
|
|
|
+++ evms-2.5.5/tests/Makefile.in 2006-06-01 15:18:44.949899142 +0200
|
|
|
|
@@ -36,7 +36,7 @@
|
|
|
|
rm -f Makefile
|
|
|
|
|
|
|
|
evms_clean: % : %.o
|
|
|
|
- $(CC) -L$(top_srcdir)/engine $(EVMS_LDFLAGS) $(EVMS_LIBS) $(PTHREAD_LIBS) $(EFENCE_LIBS) -levms -o $@ $@.o
|
|
|
|
+ $(CC) -L$(top_srcdir)/engine $(EVMS_LDFLAGS) $@.o $(EVMS_LIBS) $(PTHREAD_LIBS) $(EFENCE_LIBS) -levms -o $@
|
|
|
|
|
|
|
|
evms_deactivate seq_dd lvm2_crc: % : %.o
|
|
|
|
$(CC) -o $@ $@.o
|