openbsd-ports/sysutils/e2fsprogs/patches/patch-lib_et_Makefile_in
2006-02-04 18:37:36 +00:00

73 lines
2.3 KiB
Plaintext

$OpenBSD: patch-lib_et_Makefile_in,v 1.2 2006/02/04 18:37:36 bernd Exp $
--- lib/et/Makefile.in.orig Sun Feb 24 21:03:59 2002
+++ lib/et/Makefile.in Sat Feb 4 19:05:39 2006
@@ -22,7 +22,7 @@ SRCS = $(srcdir)/error_message.c $(srcdi
HFILES= com_err.h
SHARE_FILES= et_c.awk et_h.awk
-LIBRARY= libcom_err
+LIBRARY= libext2fs_com_err
LIBDIR= et
DLL_ADDRESS = 0x66800000
@@ -30,19 +30,19 @@ DLL_JUMPSIZE = 0x1000
DLL_GOTSIZE = 0x1000
DLL_VERSION = 1.0
DLL_IMAGE = libet
-DLL_STUB = libcom_err
+DLL_STUB = libext2fs_com_err
DLL_MYDIR = et
DLL_INSTALL_DIR = $(root_libdir)
-ELF_VERSION = 2.0
+ELF_VERSION = $(LIBext2fs_com_err_VERSION)
ELF_SO_VERSION = 2
-ELF_IMAGE = libcom_err
+ELF_IMAGE = libext2fs_com_err
ELF_MYDIR = et
ELF_INSTALL_DIR = $(root_libdir)
ELF_OTHER_LIBS =
BSDLIB_VERSION = 1.0
-BSDLIB_IMAGE = libcom_err
+BSDLIB_IMAGE = libext2fs_com_err
BSDLIB_MYDIR = et
BSDLIB_INSTALL_DIR = $(root_libdir)
@@ -85,11 +85,11 @@ installdirs::
$(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) \
$(DESTDIR)$(man3dir)
-install:: compile_et libcom_err.a $(HFILES) installdirs
- $(INSTALL_DATA) libcom_err.a $(DESTDIR)$(libdir)/libcom_err.a
- $(CHMOD) 644 $(DESTDIR)$(libdir)/libcom_err.a
- -$(RANLIB) $(DESTDIR)$(libdir)/libcom_err.a
- $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libcom_err.a
+install:: compile_et $(LIBRARY).a $(HFILES) installdirs
+ $(INSTALL_DATA) $(LIBRARY).a $(DESTDIR)$(libdir)/$(LIBRARY).a
+ $(CHMOD) 644 $(DESTDIR)$(libdir)/$(LIBRARY).a
+ -$(RANLIB) $(DESTDIR)$(libdir)/$(LIBRARY).a
+ $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/$(LIBRARY).a
for i in $(HFILES); do \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/et/$$i; \
done
@@ -102,15 +102,15 @@ install:: compile_et libcom_err.a $(HFIL
$(DESTDIR)$(man1dir)/compile_et.1
uninstall::
- $(RM) -f $(DESTDIR)$(libdir)/libcom_err.a \
+ $(RM) -f $(DESTDIR)$(libdir)/$(LIBRARY).a \
$(DESTDIR)$(bindir)/compile_et
$(RM) -rf $(DESTDIR)$(includedir)/et $(DESTDIR)$(datadir)/et
clean::
- $(RM) -f compile_et libcom_err.a libcom_err_p.a
+ $(RM) -f compile_et $(LIBRARY).a $(LIBRARY)_p.a
$(RM) -f $(OBJS) profiled/*
$(RM) -f *~ \#* *.bak *.otl *.aux *.toc *.PS *.dvi *.ps TAGS *.ln
- $(RM) -f ../libcom_err.a ../libcom_err_p.a
+ $(RM) -f ../$(LIBRARY).a ../$(LIBRARY)_p.a
mostlyclean:: clean
distclean:: clean
$(RM) -f .depend Makefile $(srcdir)/TAGS $(srcdir)/Makefile.in.old