svn commit: r460935 - head/graphics/libgphoto2
Ben Woods
woodsb02 at FreeBSD.org
Sun Feb 4 15:10:07 UTC 2018
Author: woodsb02
Date: Sun Feb 4 15:10:06 2018
New Revision: 460935
URL: https://svnweb.freebsd.org/changeset/ports/460935
Log:
graphics/libgphoto2: Convert custom REINPLACE_CMD to USES=pathfix
There is no functional difference with this change.
Modified:
head/graphics/libgphoto2/Makefile
Modified: head/graphics/libgphoto2/Makefile
==============================================================================
--- head/graphics/libgphoto2/Makefile Sun Feb 4 15:09:38 2018 (r460934)
+++ head/graphics/libgphoto2/Makefile Sun Feb 4 15:10:06 2018 (r460935)
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libltdl.so:devel/libltdl
-USES= gmake iconv libtool localbase pkgconfig tar:bzip2
+USES= gmake iconv libtool localbase pathfix pkgconfig tar:bzip2
USE_CSTD= gnu89
GNU_CONFIGURE= yes
CONFIGURE_ENV= LTDLINCL="-I${LOCALBASE}/include" \
@@ -25,6 +25,10 @@ CONFIGURE_ENV= LTDLINCL="-I${LOCALBASE}/include" \
udevscriptdir=${WRKDIR}
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
+PATHFIX_MAKEFILEIN= Makefile.in \
+ configure \
+ libgphoto2_port/Makefile.in \
+ libgphoto2_port/configure
PLIST_SUB= VERSION="${PORTVERSION}" VERSION_PORT=0.12.0
@@ -47,8 +51,7 @@ post-patch:
.for i in configure libgphoto2_port/configure
@${REINPLACE_CMD} -e \
'/FLAGS/s|-g|| ; \
- /grep -i linux/s|; fi ; then|; else false; fi ; then| ; \
- /pkgconfig/s|$${libdir}|$${prefix}/libdata|' \
+ /grep -i linux/s|; fi ; then|; else false; fi ; then|' \
${WRKSRC}/${i}
.endfor
@${REINPLACE_CMD} -e \
More information about the svn-ports-all
mailing list