[70252] trunk/dports/lang

ryandesign at macports.org ryandesign at macports.org
Tue Aug 3 13:33:15 PDT 2010


Revision: 70252
          http://trac.macports.org/changeset/70252
Author:   ryandesign at 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:
--------------
    trunk/dports/lang/pure/files/patch-Makefile.in.diff
    trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff

Modified: trunk/dports/lang/pure/files/patch-Makefile.in.diff
===================================================================
--- 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
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100803/8b071829/attachment-0001.html>


More information about the macports-changes mailing list