aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-06-10 23:17:53 +0800
committernovel <novel@FreeBSD.org>2005-06-10 23:17:53 +0800
commit3ad52ea86a9fcb6e5173a32b5cdd623543997498 (patch)
tree6d07c05ee559fd8a7e2c0bb61e415c6852534e0a
parent7a4d8b740406bdf36bfe567f6e25cca9396d09d7 (diff)
downloadfreebsd-ports-gnome-3ad52ea86a9fcb6e5173a32b5cdd623543997498.tar.gz
freebsd-ports-gnome-3ad52ea86a9fcb6e5173a32b5cdd623543997498.tar.zst
freebsd-ports-gnome-3ad52ea86a9fcb6e5173a32b5cdd623543997498.zip
The second attempt to fix build on 4.x.
Reported by: pointyhat via kris
-rw-r--r--deskutils/adesklets/Makefile2
1 files changed, 2 insertions, 0 deletions
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)