slackbuilds_ponce/office/pdftk/pdftk-1.44-add_custom_optflags.patch
ArTourter 490a632098 office/pdftk: Updated for version 1.44.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2010-12-05 20:01:48 -06:00

26 lines
1.1 KiB
Diff

diff -Nurp pdftk-1.44-dist-orig/pdftk/Makefile.Slackware-13.1 pdftk-1.44-dist/pdftk/Makefile.Slackware-13.1
--- pdftk-1.44-dist-orig/pdftk/Makefile.Slackware-13.1 2010-10-25 20:04:51.000000000 +0100
+++ pdftk-1.44-dist/pdftk/Makefile.Slackware-13.1 2010-10-31 01:44:31.000000000 +0000
@@ -34,7 +34,7 @@ export CXX= $(TOOLPATH)g++
export GCJ= $(TOOLPATH)gcj
export GCJH= $(TOOLPATH)gcjh
export GJAR= $(TOOLPATH)gjar
-export LIBGCJ= /usr/share/java/libgcj$(VERSUFF).jar
+export LIBGCJ= /usr/share/java
export AR= ar
export RM= rm
export ARFLAGS= rs
@@ -71,9 +71,10 @@ export RMFLAGS= -vf
# only effects libraries following option on the command line
#
#
-export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
-export CXXFLAGS= -Wall -Wextra -Weffc++ -O2
-export GCJFLAGS= -Wall -fsource=1.3 -O2
+export OPT= -O2
+export CPPFLAGS= $(OPT) -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
+export CXXFLAGS= $(OPT) -Wall -Wextra -Weffc++
+export GCJFLAGS= $(OPT) -Wall -fsource=1.3
export GCJHFLAGS= -force
export LDLIBS= -lgcj