openbsd-ports/sysutils/e2fsprogs/patches/patch-misc_Makefile_in
2008-11-22 11:06:15 +00:00

49 lines
1.8 KiB
Plaintext

$OpenBSD: patch-misc_Makefile_in,v 1.3 2008/11/22 11:06:15 ajacoutot Exp $
--- misc/Makefile.in.orig Sun Feb 24 22:04:00 2002
+++ misc/Makefile.in Sat Nov 22 11:56:10 2008
@@ -39,13 +39,13 @@ SRCS= $(srcdir)/tune2fs.c $(srcdir)/mklost+found.c $(s
$(srcdir)/uuidgen.c $(srcdir)/fstype.c
LIBS= $(LIBEXT2FS) $(LIBCOM_ERR)
-DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR)
+DEPLIBS= $(DEPLIBEXT2FS) $(DEPLIBCOM_ERR)
STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
LIBS_E2P= $(LIBEXT2FS) $(LIBE2P) $(LIBCOM_ERR)
-DEPLIBS_E2P= $(LIBEXT2FS) $(LIBE2P) $(LIBCOM_ERR)
+DEPLIBS_E2P= $(DEPLIBEXT2FS) $(DEPLIBE2P) $(DEPLIBCOM_ERR)
.c.o:
$(CC) -c $(ALL_CFLAGS) $< -o $@
@@ -76,7 +76,7 @@ check:: base_device
mklost+found: $(MKLPF_OBJS)
$(CC) $(ALL_LDFLAGS) -o mklost+found $(MKLPF_OBJS)
-mke2fs: $(MKE2FS_OBJS) $(DEPLIBS) $(LIBE2P) $(DEPLIBUUID)
+mke2fs: $(MKE2FS_OBJS) $(DEPLIBS) $(DEPLIBE2P) $(DEPLIBUUID)
$(CC) $(ALL_LDFLAGS) -o mke2fs $(MKE2FS_OBJS) $(LIBS) $(LIBE2P) $(LIBUUID)
mke2fs.static: $(MKE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBUUID)
@@ -145,11 +145,9 @@ installdirs:
install: all $(SMANPAGES) $(UMANPAGES) installdirs
for i in $(SPROGS); do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
- $(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
done
for i in $(USPROGS); do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
- $(STRIP) $(DESTDIR)$(sbindir)/$$i; \
done
$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
$(DESTDIR)$(root_sbindir)/mkfs.ext2
@@ -159,7 +157,6 @@ install: all $(SMANPAGES) $(UMANPAGES) installdirs
$(DESTDIR)$(root_sbindir)/e2label
for i in $(UPROGS); do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir)/$$i; \
- $(STRIP) $(DESTDIR)$(bindir)/$$i; \
done
for i in $(SMANPAGES); do \
$(RM) -f $(DESTDIR)$(man8dir)/$$i.gz; \