From 3ad52ea86a9fcb6e5173a32b5cdd623543997498 Mon Sep 17 00:00:00 2001 From: novel Date: Fri, 10 Jun 2005 15:17:53 +0000 Subject: The second attempt to fix build on 4.x. Reported by: pointyhat via kris --- deskutils/adesklets/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deskutils/adesklets/Makefile b/deskutils/adesklets/Makefile index dbddb26655ee..10478dfad517 100644 --- a/deskutils/adesklets/Makefile +++ b/deskutils/adesklets/Makefile @@ -31,6 +31,8 @@ SUB_FILES= pkg-message .if ${OSVERSION} < 500000 LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline +CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" .endif .if !defined(NOPORTDOCS) -- cgit