summaryrefslogtreecommitdiff
path: root/devel/libast
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-02-14 20:37:18 +0000
committersalo <salo@pkgsrc.org>2003-02-14 20:37:18 +0000
commit17029ea4421f05fd974e36dbeb7b540aee6677d7 (patch)
treeba2e9464f6a1e3087412cb8b9a8df515600265e7 /devel/libast
parent9dfce5cbfe52743876b4f3cf4bf8b5f085bd984d (diff)
downloadpkgsrc-17029ea4421f05fd974e36dbeb7b540aee6677d7.tar.gz
Link against libresolv on Solaris, otherwise linking against libast fails.
Eterm should now link on Solaris. Bump PKGREVISION. Fix from Jonathan Perkin via PR pkg/20238.
Diffstat (limited to 'devel/libast')
-rw-r--r--devel/libast/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/libast/Makefile b/devel/libast/Makefile
index 970f8971b95..93610805e37 100644
--- a/devel/libast/Makefile
+++ b/devel/libast/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/12/26 04:52:19 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2003/02/14 20:37:18 salo Exp $
DISTNAME= libast-0.5
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.eterm.org/download/
@@ -21,6 +22,10 @@ CONFIGURE_ARGS+= --enable-mmx
.endif
BUILD_DEFS+= USE_MMX
+.if ${OPSYS} == "SunOS"
+LDFLAGS+=-lresolv
+.endif
+
.include "../../devel/pcre/buildlink2.mk"
.include "../../graphics/imlib2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"