mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
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>
This commit is contained in:
parent
beafdedff5
commit
c5a9970f43
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56091
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user