Ticket #37580: patch-Makefile.OSX-10.6.diff
File patch-Makefile.OSX-10.6.diff, 1.4 KB (added by florian@…, 11 years ago) |
---|
-
pdftk/Makefile.OSX-10.6
old new 20 20 21 21 # tools 22 22 # need direct path to libgcj for gcjh (starting in gcj 4.1.2 per Aurélien GÉRÔME) 23 TOOLPATH= /sw/lib/gcc4.5/bin/23 TOOLPATH=@PREFIX@/bin/ 24 24 export VERSUFF=-fsf-4.5 25 25 export CXX= $(TOOLPATH)g++$(VERSUFF) 26 26 export GCJ= $(TOOLPATH)gcj$(VERSUFF) 27 27 export GCJH= $(TOOLPATH)gcjh$(VERSUFF) 28 28 export GJAR= $(TOOLPATH)gjar$(VERSUFF) 29 export LIBGCJ= /sw/lib/gcc4.5/share/java/libgcj-4.5.0.jar29 export LIBGCJ= @PREFIX@/share/java/libgcj-$(shell $(GCJ) -dumpversion).jar 30 30 export AR= ar 31 31 export RM= rm 32 32 export ARFLAGS= rs … … 63 63 # only effects libraries following option on the command line 64 64 # 65 65 # 66 export MACOSX_DEPLOYMENT_TARGET= 10.4 67 export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers -mmacosx-version-min=10.4 66 export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers 68 67 export CXXFLAGS= -Wall -Wextra -Weffc++ -O2 69 68 export GCJFLAGS= -Wall -fsource=1.3 -O2 70 69 export GCJHFLAGS= -force 71 export LDLIBS= /sw/lib/gcc4.5/lib/libgcj.dylib /sw/lib/gcc4.5/lib/libstdc++.dylib /sw/lib/gcc4.5/lib/libgcc_s.1.dylib -liconv -lz70 export LDLIBS= $(shell $(CXX) -print-file-name=libgcj.dylib) $(shell $(CXX) -print-file-name=libstdc++.dylib) $(shell $(CXX) -print-file-name=libgcc_s.1.dylib) 72 71 73 72 include Makefile.Base