aboutsummaryrefslogtreecommitdiff
path: root/graphics/sane-backends/Makefile
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-06-01 19:56:04 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-06-01 19:56:04 +0000
commit7f44153281a28abf9f54db4292179516460951dc (patch)
treef0cbd198d34668e8d3997d4c3f820de3e33aa98c /graphics/sane-backends/Makefile
parente2293488c055bab7429297300cdf427d65e13e8a (diff)
downloadports-7f44153281a28abf9f54db4292179516460951dc.tar.gz
ports-7f44153281a28abf9f54db4292179516460951dc.zip
change the libtool version to use from 1.3 to 1.5
Notes
Notes: svn path=/head/; revision=136637
Diffstat (limited to 'graphics/sane-backends/Makefile')
-rw-r--r--graphics/sane-backends/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index 24dae6b14901..6614b32836e9 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -22,7 +22,8 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
USE_GNOME= gnometarget lthack
USE_GMAKE= yes
-USE_INC_LIBTOOL_VER= 13
+USE_LIBTOOL_VER=15
+USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV= NOPORTDOCS=${NOPORTDOCS} \
@@ -59,5 +60,11 @@ CONFIGURE_ARGS+= --with-gphoto2=no
PLIST_SUB+= GPHOTO2="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|LIBTOOL =.*|LIBTOOL = ${LIBTOOL}|' \
+ ${WRKSRC}/backend/Makefile.in ${WRKSRC}/frontend/Makefile.in \
+ ${WRKSRC}/japi/Makefile.in ${WRKSRC}/lib/Makefile.in \
+ ${WRKSRC}/sanei/Makefile.in ${WRKSRC}/tools/Makefile.in
+
.include "Makefile.man"
.include <bsd.port.post.mk>