diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 06:36:23 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 06:36:23 +0000 |
commit | fda2e985daa21bcac7cf4e4882e560933d7ad5e8 (patch) | |
tree | 4ccb4a868e97ff347416395233e3825776b24951 /graphics/xsane | |
parent | d0cdca8bc326260560504ebb5d4b206942ca5125 (diff) | |
download | ports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.tar.gz ports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.zip |
Notes
Diffstat (limited to 'graphics/xsane')
-rw-r--r-- | graphics/xsane/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile index a2000a58bad1..b143ade1b448 100644 --- a/graphics/xsane/Makefile +++ b/graphics/xsane/Makefile @@ -14,24 +14,28 @@ MASTER_SITES= http://www.wolfsburg.de/~rauch/sane/ \ MAINTAINER= domi@saargate.de -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \ sane.1:${PORTSDIR}/graphics/sane \ jpeg.9:${PORTSDIR}/graphics/jpeg \ tiff.4:${PORTSDIR}/graphics/tiff \ png.4:${PORTSDIR}/graphics/png -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_GMAKE= yes USE_X_PREFIX= yes +USE_GTK= yes USE_AUTOCONF= yes +CONFIGURE_ARGS= --enable-intl-patch CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --enable-intl-patch MAN1= xsane.1 +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/aclocal.m4 + post-install: @${CAT} ${PKGMESSAGE} |