summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-08-12 19:36:00 +0000
committerwiz <wiz@pkgsrc.org>2004-08-12 19:36:00 +0000
commita194fd1772da634690c98f0c5552c9714586abcd (patch)
treec05ef53afbcaa79dccde77534cbc930c5d752db6 /graphics
parent06f4b0c85fd026a4f49f33eede87ab744ce767d5 (diff)
downloadpkgsrc-a194fd1772da634690c98f0c5552c9714586abcd.tar.gz
Set USE_LIBTOOL, and add -ldl for Linux.
Addresses PR 26617 by Pancake.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libcaca/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/libcaca/Makefile b/graphics/libcaca/Makefile
index 6bc93a1ed65..717fc4df008 100644
--- a/graphics/libcaca/Makefile
+++ b/graphics/libcaca/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/04/18 19:26:49 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2004/08/12 19:36:00 wiz Exp $
#
DISTNAME= libcaca-0.5
@@ -11,10 +11,17 @@ HOMEPAGE= http://sam.zoy.org/projects/libcaca/
COMMENT= Graphics library that outputs text instead of pixels, in colour
USE_BUILDLINK3= yes
+USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-slang --disable-ncurses
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+LDFLAGS= -ldl
+.endif
+
.include "../../devel/libslang/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"