summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2004-08-12 19:36:00 +0000
committerwiz <wiz>2004-08-12 19:36:00 +0000
commit01cc8463856572ca726d6a5743750a7231dc356e (patch)
treec05ef53afbcaa79dccde77534cbc930c5d752db6
parentc1e8f99f23c0d534a139ab2df2221dc08b4d2f60 (diff)
downloadpkgsrc-01cc8463856572ca726d6a5743750a7231dc356e.tar.gz
Set USE_LIBTOOL, and add -ldl for Linux.
Addresses PR 26617 by Pancake.
-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"