aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/pdftohtml/files/patch-fofi::Makefile5
-rw-r--r--textproc/pdftohtml/files/patch-splash::Makefile7
2 files changed, 9 insertions, 3 deletions
diff --git a/textproc/pdftohtml/files/patch-fofi::Makefile b/textproc/pdftohtml/files/patch-fofi::Makefile
index da7cee0ad0d8..a8c6d4bb721a 100644
--- a/textproc/pdftohtml/files/patch-fofi::Makefile
+++ b/textproc/pdftohtml/files/patch-fofi::Makefile
@@ -10,5 +10,8 @@ $FreeBSD$
-CXXFLAGS = -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(srcdir)
+CXXFLAGS += -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(srcdir)
- CXX = g++
+ CXX =? g++
AR = ar rc
+
+ RANLIB = ranlib
+
diff --git a/textproc/pdftohtml/files/patch-splash::Makefile b/textproc/pdftohtml/files/patch-splash::Makefile
index b868bc8a84de..361d65d6a584 100644
--- a/textproc/pdftohtml/files/patch-splash::Makefile
+++ b/textproc/pdftohtml/files/patch-splash::Makefile
@@ -3,12 +3,15 @@ $FreeBSD$
--- splash/Makefile
+++ splash/Makefile
-@@ -16,7 +16,7 @@
+@@ -16,9 +16,9 @@
FOFISRCDIR = $(srcdir)/../fofi
FOFILIBDIR = ../fofi
-CXXFLAGS = -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir)
+CXXFLAGS += -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir)
- CXX = g++
+-CXX = g++
++CXX ?= g++
AR = ar rc
+ RANLIB = ranlib
+ \ No newline at end of file