From dead817a839ed49f154d02b1b7c5fac5e322e016 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 10 Apr 2014 00:46:11 +0000 Subject: Kludge to avoid conflict from duplicate .egg-info files. svn path=/branches/tk685/; revision=5776 --- buildtools/freebsd-skeleton/rpki-ca/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'buildtools/freebsd-skeleton') 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 -- cgit v1.2.3