Bit more sed -i...

This commit is contained in:
ajacoutot 2015-07-18 22:34:53 +00:00
parent b1459604f7
commit b1c2fe8500
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.31 2015/05/05 17:00:20 sthen Exp $
# $OpenBSD: Makefile,v 1.32 2015/07/18 22:34:53 ajacoutot Exp $
COMMENT= .NET language bindings for assorted GNOME libraries
@ -43,7 +43,7 @@ DLLMAP_FILES= art/art-sharp.dll.config \
gnomevfs/gnome-vfs-sharp.dll.config
pre-configure:
find ${WRKSRC} -name *\.pc.in -exec perl -pi \
-e 's,^prefix=.*,prefix=\@prefix\@,,' {} \;
find ${WRKSRC} -name *\.pc.in -exec sed -i \
's,^prefix=.*,prefix=\@prefix\@,' {} \;
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.191 2015/05/15 14:50:19 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.192 2015/07/18 22:34:53 ajacoutot Exp $
SHARED_ONLY= Yes
@ -102,7 +102,7 @@ CONFIGURE_ARGS += --disable-miner-evolution
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/meta-tracker/
pre-configure:
perl -pi -e 's,/usr/bin,${LOCALBASE}/bin,' \
sed -i 's,/usr/bin,${LOCALBASE}/bin,' \
${WRKSRC}/src/tracker-needle/tracker-utils.vala
post-install: