Revision
70252
Author
ryandesign@macports.org
Date
2010-08-03 13:33:15 -0700 (Tue, 03 Aug 2010)

Log Message

pure, pure-devel: remove compatibility code that was needed because MacPorts < 1.9 did not put build_arch in LDFLAGS

Modified Paths

Diff

Modified: trunk/dports/lang/pure/files/patch-Makefile.in.diff (70251 => 70252)


--- trunk/dports/lang/pure/files/patch-Makefile.in.diff	2010-08-03 20:21:26 UTC (rev 70251)
+++ trunk/dports/lang/pure/files/patch-Makefile.in.diff	2010-08-03 20:33:15 UTC (rev 70252)
@@ -1,23 +1,5 @@
 --- Makefile.in.orig	2010-03-16 05:15:02.000000000 -0500
 +++ Makefile.in	2010-03-18 05:37:40.000000000 -0500
-@@ -182,14 +182,14 @@
- 
- ifeq ($(sharedlib), yes)
- pure$(EXE): pure.o $(libpure)
--	$(CXX) -o $@ -L. $(LDFLAGS) pure.o -l$(libpure_name) $(LLVM_LDFLAGS) $(LIBS) $(RL_LIBS)
-+	$(CXX) $(CXXFLAGS) -o $@ -L. $(LDFLAGS) pure.o -l$(libpure_name) $(LLVM_LDFLAGS) $(LIBS) $(RL_LIBS)
- else
- pure$(EXE): pure.o $(OBJECT)
--	$(CXX) -o $@ $(LDFLAGS) pure.o $(OBJECT) $(LLVM_LIBS) $(LLVM_LDFLAGS) $(LIBS) $(RL_LIBS)
-+	$(CXX) $(CXXFLAGS) -o $@ $(LDFLAGS) pure.o $(OBJECT) $(LLVM_LIBS) $(LLVM_LDFLAGS) $(LIBS) $(RL_LIBS)
- endif
- 
- $(libpure): $(OBJECT)
--	$(CXX) $(shared) $(soname) -o $@ $(LDFLAGS) $(OBJECT) $(LLVM_LIBS) $(LLVM_LDFLAGS) $(LIBS)
-+	$(CXX) $(CXXFLAGS) $(shared) $(soname) -o $@ $(LDFLAGS) $(OBJECT) $(LLVM_LIBS) $(LLVM_LDFLAGS) $(LIBS)
- ifneq ($(libpure), $(libpure_soname))
- 	ln -sf $(libpure) $(libpure_soname)
- endif
 @@ -320,7 +320,7 @@
  	$(INSTALL) -m 644 $(srcdir)/pure.html $(srcdir)/purelib.html $(DESTDIR)$(libdir)/pure-$(version)
  	ln -sf $(libdir)/pure-$(version) $(DESTDIR)$(libdir)/pure

Modified: trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff (70251 => 70252)


--- trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff	2010-08-03 20:21:26 UTC (rev 70251)
+++ trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff	2010-08-03 20:33:15 UTC (rev 70252)
@@ -1,23 +1,5 @@
 --- Makefile.in.orig	2010-05-18 01:25:05.000000000 -0500
 +++ Makefile.in	2010-05-24 21:41:10.000000000 -0500
-@@ -185,14 +185,14 @@
- 
- ifeq ($(sharedlib), yes)
- pure$(EXE): pure.o $(libpure)
--	$(CXX) -o $@ -L. $(LDFLAGS) pure.o -l$(libpure_name) $(LLVM_LDFLAGS) $(LIBS) $(RL_LIBS)
-+	$(CXX) $(CXXFLAGS) -o $@ -L. $(LDFLAGS) pure.o -l$(libpure_name) $(LLVM_LDFLAGS) $(LIBS) $(RL_LIBS)
- else
- pure$(EXE): pure.o $(OBJECT)
--	$(CXX) -o $@ $(LDFLAGS) pure.o $(OBJECT) $(LLVM_LIBS) $(LLVM_LDFLAGS) $(LIBS) $(RL_LIBS)
-+	$(CXX) $(CXXFLAGS) -o $@ $(LDFLAGS) pure.o $(OBJECT) $(LLVM_LIBS) $(LLVM_LDFLAGS) $(LIBS) $(RL_LIBS)
- endif
- 
- $(libpure): $(OBJECT)
--	$(CXX) $(shared) $(soname) -o $@ $(LDFLAGS) $(OBJECT) $(LLVM_LIBS) $(LLVM_LDFLAGS) $(LIBS)
-+	$(CXX) $(CXXFLAGS) $(shared) $(soname) -o $@ $(LDFLAGS) $(OBJECT) $(LLVM_LIBS) $(LLVM_LDFLAGS) $(LIBS)
- ifneq ($(libpure), $(libpure_soname))
- 	ln -sf $(libpure) $(libpure_soname)
- endif
 @@ -332,7 +332,7 @@
  	ln -sf $(bindir)/$(pure_exe) $(DESTDIR)$(bindir)/pure$(EXE)
  	ln -sf $(pure_includedir) $(DESTDIR)$(includedir)/pure