diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-31 12:53:11 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-31 12:53:11 +0800 |
commit | e0904f3685c360d5ccb77b2336732a16271cd1e8 (patch) | |
tree | 0d83cf654f022170c6f84823f139ed3c53b8e53d /astro/spacechart | |
parent | 5b3cb1a25424786767cfe1365eac3ee03d61fe4a (diff) | |
download | freebsd-ports-gnome-e0904f3685c360d5ccb77b2336732a16271cd1e8.tar.gz freebsd-ports-gnome-e0904f3685c360d5ccb77b2336732a16271cd1e8.tar.zst freebsd-ports-gnome-e0904f3685c360d5ccb77b2336732a16271cd1e8.zip |
perl -> reinplace
PR: ports/47652
Submitted by: Simon 'portlint' Schubert <corecode@corecode.ath.cx>
Diffstat (limited to 'astro/spacechart')
-rw-r--r-- | astro/spacechart/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/astro/spacechart/Makefile b/astro/spacechart/Makefile index 540fbb467fa2..0180c5048c62 100644 --- a/astro/spacechart/Makefile +++ b/astro/spacechart/Makefile @@ -18,13 +18,14 @@ COMMENT= SpaceChart is a star chart viewer for GNOME LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext USE_X_PREFIX= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes USE_GNOME= gnomelibs CONFIGURE_ARGS= --without-included-gettext --datadir=${PREFIX}/share # trick it into using ports installed gettext post-patch: - @${PERL} -pi -ne "s|(INTLLIBS =).*$$|\1-I${LOCALBASE}/lib -lintl|" \ + @${REINPLACE_CMD} -e 's|\(INTLLIBS =\).*$$|\1-I${LOCALBASE}/lib -lintl|' \ ${WRKSRC}/src/Makefile.in pre-build: |