mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
This package doesn't really require X11 or Motif.
Make it respecting CFLAGS while I am here.
This commit is contained in:
parent
63d6df9599
commit
0bafca98cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190494
4 changed files with 43 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
PORTNAME= pdftohtml
|
||||
PORTVERSION= 0.39
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -17,7 +18,6 @@ COMMENT= A command-line tool for converting pdf-files into html
|
|||
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
USE_GMAKE= yes
|
||||
USE_MOTIF= yes
|
||||
|
||||
PLIST_FILES= bin/pdftohtml
|
||||
|
||||
|
|
14
textproc/pdftohtml/files/patch-fofi::Makefile
Normal file
14
textproc/pdftohtml/files/patch-fofi::Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- fofi/Makefile
|
||||
+++ fofi/Makefile
|
||||
@@ -14,7 +14,7 @@
|
||||
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++
|
||||
AR = ar rc
|
14
textproc/pdftohtml/files/patch-splash::Makefile
Normal file
14
textproc/pdftohtml/files/patch-splash::Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- splash/Makefile
|
||||
+++ splash/Makefile
|
||||
@@ -16,7 +16,7 @@
|
||||
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++
|
||||
AR = ar rc
|
14
textproc/pdftohtml/files/patch-src::Makefile
Normal file
14
textproc/pdftohtml/files/patch-src::Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/Makefile
|
||||
+++ src/Makefile
|
||||
@@ -11,7 +11,7 @@
|
||||
SPLASHSRCDIR = ../splash
|
||||
SPLASHLIBDIR = ../splash
|
||||
|
||||
-CXXFLAGS = -DHAVE_CONFIG_H -DHAVE_DIRENT_H=1 -I.. -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I.. -I$(GOOSRCDIR) -I$(XPDFSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir) -I/usr/X11R6/include
|
||||
+CXXFLAGS += -DHAVE_CONFIG_H -DHAVE_DIRENT_H=1 -I.. -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I.. -I$(GOOSRCDIR) -I$(XPDFSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir) -I/usr/X11R6/include
|
||||
|
||||
LDFLAGS =
|
||||
|
Loading…
Add table
Reference in a new issue