aboutsummaryrefslogtreecommitdiff
path: root/buildtools/freebsd-skeleton/rpki-ca
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-04-10 00:46:11 +0000
committerRob Austein <sra@hactrn.net>2014-04-10 00:46:11 +0000
commitdead817a839ed49f154d02b1b7c5fac5e322e016 (patch)
tree2763b10dcff20572f0da9e2a96407f90cb701b6c /buildtools/freebsd-skeleton/rpki-ca
parentf9102a8cbbbbea27670e8ca628d90c6689441efd (diff)
Kludge to avoid conflict from duplicate .egg-info files.
svn path=/branches/tk685/; revision=5776
Diffstat (limited to 'buildtools/freebsd-skeleton/rpki-ca')
-rw-r--r--buildtools/freebsd-skeleton/rpki-ca/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/buildtools/freebsd-skeleton/rpki-ca/Makefile b/buildtools/freebsd-skeleton/rpki-ca/Makefile
index 71f38436..cf095aa1 100644
--- a/buildtools/freebsd-skeleton/rpki-ca/Makefile
+++ b/buildtools/freebsd-skeleton/rpki-ca/Makefile
@@ -51,4 +51,18 @@ CONFIGURE_ARGS= --disable-target-installation --disable-runtime-dependencies --d
pre-install:
@test -d ${STAGEDIR}${PREFIX}/etc/rc.d || mkdir -p ${STAGEDIR}${PREFIX}/etc/rc.d
+# Kludge to cope with setup.py insisting on including egg info every
+# time it is called, which creates a problem for the way we use it.
+#
+# The real solution for this would be for the FreeBSD port system to
+# grow up and let us build multiple binary packages from a single
+# port, at which point this kludge will no longer be necessary (and
+# this port will merge with rpki-rp).
+#
+# Until that glorious day, just whack the egg info, which should be a
+# duplicate of the one that rpki-rp installs.
+
+post-install:
+ find ${STAGEDIR} -name '*.egg-info' -delete
+
.include <bsd.port.mk>