From 2d21b57c0e945e458fd41b699bb0a8f15502f8af Mon Sep 17 00:00:00 2001 From: mi Date: Sun, 9 Feb 2003 01:52:33 +0000 Subject: [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 --- print/hpijs/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'print/hpijs/Makefile') 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|||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 ||g' ${WRKSRC}/platform.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin -- cgit