aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-02-26 23:22:42 +0800
committermakc <makc@FreeBSD.org>2013-02-26 23:22:42 +0800
commitf1a622c169788403bc05b7b81ae16c7b9863c62c (patch)
tree123c142152fb2c33cc4d9865bf6300651a07faa6 /misc
parentb621eb67a7bdcab901c96581deb5eca8d39805da (diff)
downloadfreebsd-ports-gnome-f1a622c169788403bc05b7b81ae16c7b9863c62c.tar.gz
freebsd-ports-gnome-f1a622c169788403bc05b7b81ae16c7b9863c62c.tar.zst
freebsd-ports-gnome-f1a622c169788403bc05b7b81ae16c7b9863c62c.zip
Fix patch
PR: ports/176430 Submitted by: Javad Kouhi (maintianer)
Diffstat (limited to 'misc')
-rw-r--r--misc/saaghar/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/saaghar/Makefile b/misc/saaghar/Makefile
index 2fbc4a60bd52..3194111f10aa 100644
--- a/misc/saaghar/Makefile
+++ b/misc/saaghar/Makefile
@@ -2,6 +2,7 @@
PORTNAME= saaghar
PORTVERSION= 1.0.94
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= SF/saaghar/Source%20Code/:saaghar \
SF/ganjoor/s3db:ganjoor
@@ -33,8 +34,9 @@ post-extract:
${DISTDIR}/${DIST_SUBDIR}/ganjoor-s3db-910612.zip
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/share/saaghar/|${PREFIX}/share/saaghar|g' \
- ${WRKSRC}/mainwindow.cpp
+ @${REINPLACE_CMD} -e 's|/usr/share/saaghar|${PREFIX}/share/saaghar|g' \
+ ${WRKSRC}/mainwindow.cpp \
+ ${WRKSRC}/main.cpp
@${REINPLACE_CMD} -e '1 s|^.*/|/|g' \
${WRKSRC}/QGanjoorDbBrowser.cpp \
${WRKSRC}/QGanjoorDbStuff.h \