diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2010-05-07 20:34:42 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2010-05-07 20:34:42 +0800 |
commit | e6d5ab2e2526d40568971c3e7804d22c30856f65 (patch) | |
tree | eb2d719ffcb59f737c51a3c65e797b33192fcf34 /editors/textroom | |
parent | ad886abc479317c445c439b6f84c782c2b8268a1 (diff) | |
download | freebsd-ports-gnome-e6d5ab2e2526d40568971c3e7804d22c30856f65.tar.gz freebsd-ports-gnome-e6d5ab2e2526d40568971c3e7804d22c30856f65.tar.zst freebsd-ports-gnome-e6d5ab2e2526d40568971c3e7804d22c30856f65.zip |
Fix hardcoded references to /usr/share
PR: 146368
Submitted by: Michael James Brune <admin@mjbrune.org> (maintainer)
Diffstat (limited to 'editors/textroom')
-rw-r--r-- | editors/textroom/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/textroom/Makefile b/editors/textroom/Makefile index bd1e88d15561..95559cb5a072 100644 --- a/editors/textroom/Makefile +++ b/editors/textroom/Makefile @@ -7,6 +7,7 @@ PORTNAME= textroom PORTVERSION= 0.6.3.2 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= SF @@ -26,7 +27,10 @@ MAKE_JOBS_SAFE= yes WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: - @${REINPLACE_CMD} -e 's|-lhunspell|-lhunspell-1.2|' ${WRKSRC}/textroom.pro + @${REINPLACE_CMD} -e 's|-lhunspell|-lhunspell-1.2|' \ + ${WRKSRC}/textroom.pro + @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ + ${WRKSRC}/src/textroom.cpp do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ |