aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2003-02-09 01:52:33 +0000
committerMikhail Teterin <mi@FreeBSD.org>2003-02-09 01:52:33 +0000
commit4c3a4f94fad3c0f6ad71967002b005d64dd1b79a (patch)
tree1766ad87971fa4edc40fb35f2075bc855430446e
parent16a846b61e8fa8318b64b656a6173b7cc5ce5fa5 (diff)
downloadports-4c3a4f94fad3c0f6ad71967002b005d64dd1b79a.tar.gz
ports-4c3a4f94fad3c0f6ad71967002b005d64dd1b79a.zip
Notes
-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