From 37b0e0142ccbe639d6191aad0184a671b35899e5 Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Wed, 9 Oct 2002 01:41:07 +0000 Subject: Fix build PR: ports/43686 Submitted by: KATO Tsuguru --- x11/tycoon/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'x11/tycoon/Makefile') diff --git a/x11/tycoon/Makefile b/x11/tycoon/Makefile index c52317ef860a..ae09dda9c673 100644 --- a/x11/tycoon/Makefile +++ b/x11/tycoon/Makefile @@ -13,15 +13,18 @@ MASTER_SITE_SUBDIR= X11/desktop MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= xforms:${PORTSDIR}/x11-toolkits/xforms +LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms -USE_REINPLACE= yes USE_IMAKE= yes USE_XPM= yes +USE_REINPLACE= yes +REINPLACE_ARGS= -i "" -post-build: - ${RM} -f ${WRKSRC}/xbackdrop/backdrops/index~ ;\ +post-patch: + ${RM} -f ${WRKSRC}/xbackdrop/backdrops/index~ ${REINPLACE_CMD} -e 's,/usr/lib,${PREFIX}/lib,' \ ${WRKSRC}/xbackdrop/backdrops/index + ${FIND} ${WRKSRC} -name '*.c' -type f | ${XARGS} ${REINPLACE_CMD} -e \ + 's,FL_REVISION>=80,FL_REVISION >= 80 || FL_VERSION != 0,g' .include -- cgit v1.2.3