osloup / rpms / openjade

Forked from rpms/openjade a year ago
Clone

Blame SOURCES/openjade-ppc64.patch

9d9713
--- openjade-1.3.1/Makefile.prog.in.sopwith	2002-01-22 06:57:53.000000000 -0500
9d9713
+++ openjade-1.3.1/Makefile.prog.in	2003-02-11 16:59:44.000000000 -0500
9d9713
@@ -1,3 +1,4 @@
9d9713
+
9d9713
 #
9d9713
 #  Makefile.prog.in - Makerules for bilding programs
9d9713
 #
9d9713
@@ -11,15 +12,17 @@
9d9713
 LINKFLAGS = @LINKFLAGS@
9d9713
 
9d9713
 ALL_LIBS = $(XLIBS) $(LIBS)
9d9713
+LT_LIBS = $(shell echo $(XLIBS) | sed 's/\.a/.la/g')
9d9713
+LT_ALL_LIBS = $(shell echo $(ALL_LIBS) | sed 's/\.a/.la/g')
9d9713
 Makefile.lt:
9d9713
-	echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
9d9713
+	echo > Makefile.lt
9d9713
 
9d9713
 PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
9d9713
 
9d9713
 all: $(PROG)
9d9713
 
9d9713
 $(PROG): $(OBJS) $(COBJS) $(LT_LIBS)
9d9713
-	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_LIBS)
9d9713
+	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_ALL_LIBS)
9d9713
 
9d9713
 install: $(PROG)
9d9713
 	-test -d $(DESTDIR)$(bindir) || \