Date: Sun, 4 Feb 2018 15:10:06 +0000 (UTC) From: Ben Woods <woodsb02@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460935 - head/graphics/libgphoto2 Message-ID: <201802041510.w14FA6uL072968@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802041510.w14FA6uL072968>