summaryrefslogtreecommitdiff
path: root/devel/libast/Makefile
diff options
context:
space:
mode:
authorsalo <salo>2003-02-14 20:37:18 +0000
committersalo <salo>2003-02-14 20:37:18 +0000
commit03e4fc9e8f0112ccfcc94ceba2d741867db7ef7f (patch)
treeba2e9464f6a1e3087412cb8b9a8df515600265e7 /devel/libast/Makefile
parent2faeba9fa1aad882a1c544d77c7962eea31b60a1 (diff)
downloadpkgsrc-03e4fc9e8f0112ccfcc94ceba2d741867db7ef7f.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/Makefile')
-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"