File mined-lib64.patch of Package mined

--- src/makefile.gcc
+++ src/makefile.gcc
@@ -41,6 +41,7 @@
 # system environment adaption
 
 # select library directory
+RLIBDIR	= /lib${LIB}
 LIBDIR	= /usr/lib${LIB}
 # prefer linking with self-installed ncurses library
 ncursesdevel = $(shell echo ${LDFLAGS} | sed -e "s,-L\([^ ]*\),ls \1/libncurses.a; ,g" -e "s,-[^ ]*,,g" )
@@ -50,12 +51,12 @@
 # this may yield a more portable program in a heterogeneous network
 liblist	= \
 	$(ncursesdevel) \
-	ls /lib/libncurses.a	$(LIBDIR)/libncurses.a; \
-	ls /lib/libtermcap.a	$(LIBDIR)/libtermcap.a; \
+	ls $(RLIBDIR)/libncurses.a	$(LIBDIR)/libncurses.a; \
+	ls $(RLIBDIR)/libtermcap.a	$(LIBDIR)/libtermcap.a; \
 	ls 			$(LIBDIR)/termcap/libtermcap.a; \
-	ls /lib/libncursesw.so*	$(LIBDIR)/libncursesw.so*; \
-	ls /lib/libncurses.so*	$(LIBDIR)/libncurses.so*; \
-	ls /lib/libtermcap.so*	$(LIBDIR)/libtermcap.so*; \
+	ls $(RLIBDIR)/libncursesw.so*	$(LIBDIR)/libncursesw.so*; \
+	ls $(RLIBDIR)/libncurses.so*	$(LIBDIR)/libncurses.so*; \
+	ls $(RLIBDIR)/libtermcap.so*	$(LIBDIR)/libtermcap.so*; \
 	ls 			$(LIBDIR)/termcap/libtermcap.so*; \