summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-19 20:45:47 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-19 20:45:47 +0000
commit4a802fcdc3b7cfea7e14b992dfdefc10aa2e09c7 (patch)
tree5b9679b2adcaf85a29afb15d756468cbd9685580 /print
parentupgrade to 0.999 (diff)
upgrade to 1.2.2
PR: 42741 Submitted by: Ports Fury
Diffstat (limited to 'print')
-rw-r--r--print/hpijs/Makefile7
-rw-r--r--print/hpijs/distinfo2
-rw-r--r--print/hpijs/files/patch-global_types.h17
3 files changed, 20 insertions, 6 deletions
diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile
index b7728a835736..f68b5c4fb116 100644
--- a/print/hpijs/Makefile
+++ b/print/hpijs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= hpijs
-PORTVERSION= 1.2.1
+PORTVERSION= 1.2.2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= hpinkjet
@@ -22,7 +22,7 @@ USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CPPFLAGS= `${IJS_CONFIG} --cflags`
+CPPFLAGS= `${IJS_CONFIG} --cflags` -DHAVE_INTTYPES_H=1
LDFLAGS= `${IJS_CONFIG} --libs`
post-patch:
@@ -34,9 +34,6 @@ post-patch:
s| ijs_server.[cho]||g ; \
s| ijs_exec_unix.[co]||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|#include <malloc.h>||g' ${WRKSRC}/platform.h
-.for file in global_types.h dj*.cpp phobos_cmaps.cpp
- @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|g' ${WRKSRC}/${file}
-.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin
diff --git a/print/hpijs/distinfo b/print/hpijs/distinfo
index 3a141eb6b480..5f6b7e5adc38 100644
--- a/print/hpijs/distinfo
+++ b/print/hpijs/distinfo
@@ -1 +1 @@
-MD5 (ghostscript/hpijs-1.2.1.tar.gz) = 09d99ba5ed63fd270f1aed27823fb0fb
+MD5 (ghostscript/hpijs-1.2.2.tar.gz) = 5eae1f6ec44dce9a5ca250a18c7e3be6
diff --git a/print/hpijs/files/patch-global_types.h b/print/hpijs/files/patch-global_types.h
new file mode 100644
index 000000000000..3fe98a1caa9e
--- /dev/null
+++ b/print/hpijs/files/patch-global_types.h
@@ -0,0 +1,17 @@
+--- global_types.h.orig Thu Sep 5 08:27:18 2002
++++ global_types.h Wed Sep 11 02:05:22 2002
+@@ -46,10 +46,14 @@
+ #include "models.h"
+ #include "modes.h"
+
++#if HAVE_INTTYPES_H
++ #include <inttypes.h>
++#else
+ #if HAVE_STDINT_H
+ #include <stdint.h>
+ #else
+ typedef unsigned long uint32_t;
++#endif
+ #endif
+
+ // ** Defines