diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-03-14 16:40:24 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-03-14 16:40:24 +0000 |
commit | 799533bfc1f9d580b19f9eba4f6bb63ab26b1bcf (patch) | |
tree | 518870e1851ba76c67fb8bc0e3775a10e5a34958 /math | |
parent | c83d377e24746cae30e5f2455cea1a80eff47f01 (diff) | |
download | FreeBSD-ports-799533bfc1f9d580b19f9eba4f6bb63ab26b1bcf.zip FreeBSD-ports-799533bfc1f9d580b19f9eba4f6bb63ab26b1bcf.tar.gz |
Manually invoke `${MAKE} patch' for Gnumeric, because puting it into
BUILD_DEPEDS creates short circuit when make clean is invoked either for
Gnumeric port or for Guppi port. Perhaps our bsd.port.mk should be fixed
to avoid such problems.
Submitted by: John Merryweather Cooper <john_m_cooper@yahoo.com>
Diffstat (limited to 'math')
-rw-r--r-- | math/guppi/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/math/guppi/Makefile b/math/guppi/Makefile index 5f77170..fe7ed25 100644 --- a/math/guppi/Makefile +++ b/math/guppi/Makefile @@ -15,7 +15,6 @@ DISTNAME= Guppi-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org -BUILD_DEPENDS= /nonexistent:${PORTSDIR}/math/gnumeric:patch LIB_DEPENDS= guile.9:${PORTSDIR}/lang/guile USE_X_PREFIX= yes @@ -31,6 +30,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include/libglade-1. CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} PLIST_SUB= VERSION="${PORTVERSION}" +# Can't use BUILD_DEPENDS, because then we have `short circuit' for +# make clean - Gnumeric tries to clean-up Guppi, while Guppi in turn +# tries to clean Gnumeric. +post-extract: + @cd ${PORTSDIR}/math/gnumeric && ${MAKE} patch + pre-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |