aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2003-02-09 09:52:33 +0800
committermi <mi@FreeBSD.org>2003-02-09 09:52:33 +0800
commit2d21b57c0e945e458fd41b699bb0a8f15502f8af (patch)
treeedd3676a0e93c0d56bc7fb3c59fbf56ac12cb208 /print
parentc7b9eb8e84f0c65cb75ab7e8a49adbff52a8a7ed (diff)
downloadfreebsd-ports-gnome-2d21b57c0e945e458fd41b699bb0a8f15502f8af.tar.gz
freebsd-ports-gnome-2d21b57c0e945e458fd41b699bb0a8f15502f8af.tar.zst
freebsd-ports-gnome-2d21b57c0e945e458fd41b699bb0a8f15502f8af.zip
[Get a new printer. Upgrade the software for it. Before committing --
check the PR database. Find out, you are one day too late...] Update to 1.3.1 PR: ports/48043 Submitted by: KATO Tsuguru
Diffstat (limited to 'print')
-rw-r--r--print/hpijs/Makefile7
-rw-r--r--print/hpijs/distinfo2
2 files changed, 5 insertions, 4 deletions
diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile
index 5b5b3327d289..4554dc491700 100644
--- a/print/hpijs/Makefile
+++ b/print/hpijs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= hpijs
-PORTVERSION= 1.3
+PORTVERSION= 1.3.1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= hpinkjet
@@ -20,20 +20,21 @@ IJS_CONFIG?= ${LOCALBASE}/bin/ijs-config
USE_REINPLACE= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CPPFLAGS= `${IJS_CONFIG} --cflags` -DHAVE_INTTYPES_H=1
+CPPFLAGS= `${IJS_CONFIG} --cflags`
LDFLAGS= `${IJS_CONFIG} --libs`
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
+ s|<malloc.h>|<stdlib.h>|g ; \
s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's| ijs.[cho]||g ; \
s| ijs_client.h||g ; \
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin
diff --git a/print/hpijs/distinfo b/print/hpijs/distinfo
index d1854e9a3513..19731d7891eb 100644
--- a/print/hpijs/distinfo
+++ b/print/hpijs/distinfo
@@ -1 +1 @@
-MD5 (ghostscript/hpijs-1.3.tar.gz) = 9d0b79d0fae39f3efc5b8db60f51a8fa
+MD5 (ghostscript/hpijs-1.3.1.tar.gz) = a2ae6ce240dd40747ea0e3731c549f81