aboutsummaryrefslogtreecommitdiff
path: root/graphics/djvulibre
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2005-10-19 13:02:42 +0000
committerMikhail Teterin <mi@FreeBSD.org>2005-10-19 13:02:42 +0000
commit051b81f73a8689bf9fe83ce8eb8704922fc7db17 (patch)
treeb494387eedc164e3bc6618abb3add6237452a8d6 /graphics/djvulibre
parent3439a920d4f13bb879c9f4b535b619a815db6f88 (diff)
downloadports-051b81f73a8689bf9fe83ce8eb8704922fc7db17.tar.gz
ports-051b81f73a8689bf9fe83ce8eb8704922fc7db17.zip
Notes
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r--graphics/djvulibre/Makefile1
-rw-r--r--graphics/djvulibre/files/patch-cflags29
-rw-r--r--graphics/djvulibre/files/patch-gsfiles_Makefile.in9
3 files changed, 38 insertions, 1 deletions
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile
index 13fd2e9a0d21..f97ba7d553ab 100644
--- a/graphics/djvulibre/Makefile
+++ b/graphics/djvulibre/Makefile
@@ -45,7 +45,6 @@ CONFIGURE_ENV+= CXX=${CXX} \
CONFIGURE_ARGS+=--disable-djview --without-x
.endif
-
.if defined(LOCALBASE) && ${LOCALBASE} != "/usr/local"
pre-configure:
${PERL5} -pi -e 's,/usr/local,${LOCALBASE},g' `${FIND} ${WRKSRC} \
diff --git a/graphics/djvulibre/files/patch-cflags b/graphics/djvulibre/files/patch-cflags
new file mode 100644
index 000000000000..ae5dc694efe0
--- /dev/null
+++ b/graphics/djvulibre/files/patch-cflags
@@ -0,0 +1,29 @@
+--- xmltools/Makefile.in Tue Aug 24 13:58:56 2004
++++ xmltools/Makefile.in Wed Oct 19 08:45:42 2005
+@@ -51,6 +51,6 @@
+ FLAGS = ${DEFS} ${INCS} ${OPTS} ${JPEG_CFLAGS} ${THREAD_CFLAGS}
+ LIBS= @LDFLAGS@ ${JPEG_LIBS} ${THREAD_LIBS} @LIBS@
+-CFLAGS = @CPPFLAGS@ @CFLAGS@ ${FLAGS}
+-CXXFLAGS = @CPPFLAGS@ @CXXFLAGS@ ${CXXRPOFLAGS} ${FLAGS}
++CFLAGS += ${FLAGS} @CPPFLAGS@
++CXXFLAGS += ${FLAGS} @CPPFLAGS@ ${CXXRPOFLAGS}
+
+ PROGRAMS = djvutoxml djvuxmlparser
++++ libdjvu/Makefile.in Wed Oct 19 08:45:42 2005
+@@ -51,5 +51,5 @@
+ FLAGS = ${DEFS} ${INCS} ${OPTS} ${JPEG_CFLAGS} ${THREAD_CFLAGS}
+ LIBS= @LDFLAGS@ ${JPEG_LIBS} ${THREAD_LIBS} @LIBS@
+-CFLAGS = @CPPFLAGS@ @CFLAGS@ ${FLAGS}
+-CXXFLAGS = @CPPFLAGS@ @CXXFLAGS@ ${CXXRPOFLAGS} ${FLAGS}
++CFLAGS += ${FLAGS} @CPPFLAGS@
++CXXFLAGS += ${FLAGS} @CPPFLAGS@ ${CXXRPOFLAGS}
+
++++ tools/Makefile.in Wed Oct 19 08:45:42 2005
+@@ -51,5 +51,5 @@
+ FLAGS = ${DEFS} ${INCS} ${OPTS} ${JPEG_CFLAGS} ${THREAD_CFLAGS}
+ LIBS= @LDFLAGS@ ${JPEG_LIBS} ${THREAD_LIBS} @LIBS@
+-CFLAGS = @CPPFLAGS@ @CFLAGS@ ${FLAGS}
+-CXXFLAGS = @CPPFLAGS@ @CXXFLAGS@ ${CXXRPOFLAGS} ${FLAGS}
++CFLAGS += ${FLAGS} @CPPFLAGS@
++CXXFLAGS += ${FLAGS} @CPPFLAGS@ ${CXXRPOFLAGS}
+
diff --git a/graphics/djvulibre/files/patch-gsfiles_Makefile.in b/graphics/djvulibre/files/patch-gsfiles_Makefile.in
new file mode 100644
index 000000000000..f386dcc6b49f
--- /dev/null
+++ b/graphics/djvulibre/files/patch-gsfiles_Makefile.in
@@ -0,0 +1,9 @@
+--- gsfiles/Makefile.in Tue Aug 24 13:58:55 2004
++++ gsfiles/Makefile.in Tue Oct 18 18:36:57 2005
+@@ -43,5 +43,5 @@
+ install-bin: djvudigital FORCE
+ ${INSTALL} -d ${DESTDIR}${bindir}
+- ${INSTALL_PROGRAM} -m 0755 ${srcdir}/djvudigital ${DESTDIR}${bindir}
++ ${BSD_INSTALL_SCRIPT} -m 0755 ${srcdir}/djvudigital ${DESTDIR}${bindir}
+
+ install-man: FORCE