summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2015-11-07 20:54:17 +0000
committerdholland <dholland@pkgsrc.org>2015-11-07 20:54:17 +0000
commit05a67487d7f3bfa5df7aed19c175688193ca1ab6 (patch)
treef7a341434c42f40de306828cf995e5d15ed0d1d0 /benchmarks
parentf12b87296f8ec6f64f8b5c3afc086887abd33a04 (diff)
downloadpkgsrc-05a67487d7f3bfa5df7aed19c175688193ca1ab6.tar.gz
Use the NetBSD and DragonFly makefiles for FreeBSD, OpenBSD, and Bitrig.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/libmicro/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/benchmarks/libmicro/Makefile b/benchmarks/libmicro/Makefile
index 6b10b4fef07..35e4c334b56 100644
--- a/benchmarks/libmicro/Makefile
+++ b/benchmarks/libmicro/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2015/11/07 20:12:37 dholland Exp $
+# $NetBSD: Makefile,v 1.5 2015/11/07 20:54:17 dholland Exp $
#
DISTNAME= libmicro-${LIBMICRO_VERSION}
@@ -31,6 +31,11 @@ SUBST_STAGE.fix-arch= pre-configure
SUBST_FILES.fix-arch= Makefile bench.sh wrapper.sh
SUBST_SED.fix-arch= -e 's|@@MACHINE_ARCH@@|${MACHINE_ARCH}|'
+post-patch:
+ cd ${WRKSRC} && ${LN} -s Makefile.NetBSD Makefile.OpenBSD
+ cd ${WRKSRC} && ${LN} -s Makefile.NetBSD Makefile.Bitrig
+ cd ${WRKSRC} && ${LN} -s Makefile.DragonFly Makefile.FreeBSD
+
post-build:
${SED} -e 's|@@DESTDIR@@|${DESTDIR}|' \
-e 's|@@PREFIX@@|${PREFIX}|' \