ports/163171: [patch] textproc/pdftohtml: respect CC

Jan Beich jbeich at tormail.net
Sat Dec 10 21:40:09 UTC 2011


>Number:         163171
>Category:       ports
>Synopsis:       [patch] textproc/pdftohtml: respect CC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 10 21:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
# slightly different from pointyhat
$ export PATH=~/.bin:$PATH
$ for cc in CC cc c++ gcc g++ cpp; do ln -s /usr/bin/false ~/.bin/${cc}; done
>Description:
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/pdftohtml-0.39_5.log
>Fix:
--- cc.diff begins here ---
Index: textproc/pdftohtml/files/patch-fofi::Makefile
===================================================================
RCS file: /a/.csup/ports/textproc/pdftohtml/files/patch-fofi::Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 patch-fofi::Makefile
--- textproc/pdftohtml/files/patch-fofi::Makefile	20 Apr 2007 21:13:41 -0000	1.1
+++ textproc/pdftohtml/files/patch-fofi::Makefile	10 Dec 2011 19:59:39 -0000
@@ -3,12 +3,15 @@ $FreeBSD: ports/textproc/pdftohtml/files
 
 --- fofi/Makefile
 +++ fofi/Makefile
-@@ -14,7 +14,7 @@
+@@ -14,9 +14,9 @@
  GOOSRCDIR = $(srcdir)/../goo
  GOOLIBDIR = ../goo
  
 -CXXFLAGS =   -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(srcdir)
 +CXXFLAGS +=   -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(srcdir)
  
- CXX = g++
+-CXX = g++
++CXX ?= g++
  AR = ar rc
+ RANLIB = ranlib
+ 
Index: textproc/pdftohtml/files/patch-splash::Makefile
===================================================================
RCS file: /a/.csup/ports/textproc/pdftohtml/files/patch-splash::Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 patch-splash::Makefile
--- textproc/pdftohtml/files/patch-splash::Makefile	20 Apr 2007 21:13:41 -0000	1.1
+++ textproc/pdftohtml/files/patch-splash::Makefile	10 Dec 2011 20:00:20 -0000
@@ -3,12 +3,15 @@ $FreeBSD: ports/textproc/pdftohtml/files
 
 --- 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
+ 
--- cc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list