aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/samesame
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2009-05-02 02:25:31 +0800
committerdhn <dhn@FreeBSD.org>2009-05-02 02:25:31 +0800
commit20fcc5455b8ed7cbcd35dbc67a0f20878d15c32e (patch)
treef94363ff11a714a17c90b5b17cfd8a38e9ce736b /sysutils/samesame
parent4b6a6dfc34f3847d95b8a530f946e43f345f1a25 (diff)
downloadfreebsd-ports-gnome-20fcc5455b8ed7cbcd35dbc67a0f20878d15c32e.tar.gz
freebsd-ports-gnome-20fcc5455b8ed7cbcd35dbc67a0f20878d15c32e.tar.zst
freebsd-ports-gnome-20fcc5455b8ed7cbcd35dbc67a0f20878d15c32e.zip
- Fix build
Reported by: QAT Tested by: tabthorpe Approved by: tabthorpe (co-mentor implicit)
Diffstat (limited to 'sysutils/samesame')
-rw-r--r--sysutils/samesame/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysutils/samesame/Makefile b/sysutils/samesame/Makefile
index 8643c53f5c40..6fda7aa85ea2 100644
--- a/sysutils/samesame/Makefile
+++ b/sysutils/samesame/Makefile
@@ -46,7 +46,14 @@ CFLAGS+= -D'TEMP_STORAGE_DIR=\"/tmp\"'
CFLAGS+= -DPATH_INIT=256
CFLAGS+= -DSTATIC_CACHE_CAPACITY=8192
+post-patch:
+ @${REINPLACE_CMD} -e 's|test-samefile||g' \
+ -e 's|test-samelink||g' \
+ -e 's|test-samearchive||g' \
+ -e 's|test-samearchive-lite||g' ${WRKSRC}/Makefile
+
post-install:
+ ${CHMOD} 770 ${WRKSRC}/test*
${STRIP_CMD} ${PREFIX}/bin/samefile
${STRIP_CMD} ${PREFIX}/bin/samelink
${STRIP_CMD} ${PREFIX}/bin/samearchive