diff options
Diffstat (limited to 'print')
-rw-r--r-- | print/hpijs/Makefile | 7 | ||||
-rw-r--r-- | print/hpijs/distinfo | 2 |
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 |