summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-08-06 09:50:01 +0000
committeragc <agc@pkgsrc.org>1999-08-06 09:50:01 +0000
commite7432a2c2547e67b6727b25913324d8a0d475f25 (patch)
tree720bfdc217589bfaaca29defff119b4b369967c5 /lang
parente21695c7693e7486afcec9ae5f00718f3219ca7d (diff)
downloadpkgsrc-e7432a2c2547e67b6727b25913324d8a0d475f25.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'lang')
-rw-r--r--lang/expect/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/expect/Makefile b/lang/expect/Makefile
index 438f08d0b64..a29d3c1f075 100644
--- a/lang/expect/Makefile
+++ b/lang/expect/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 1999/04/01 13:38:44 agc Exp $
+# $NetBSD: Makefile,v 1.18 1999/08/06 09:50:01 agc Exp $
# FreeBSD Id: Makefile,v 1.29 1998/01/27 01:11:47 fenner Exp
#
@@ -21,6 +21,13 @@ CONFIGURE_ARGS= --enable-shared \
--with-tkconfig=${PREFIX}/lib/tk8.0 \
--with-tkinclude=${PREFIX}/include/tk8.0
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LD_LIBRARY_PATH?= /usr/lib:${LOCALBASE}/lib:${X11BASE}/lib
+MAKE_ENV+= LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
+.endif
+
post-extract:
${MV} ${WRKSRC}/example/rftp ${WRKSRC}/example/expect-rftp