pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libcaca Set USE_LIBTOOL, and add -ldl for Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/404319e4ad58
branches:  trunk
changeset: 479337:404319e4ad58
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Aug 12 19:36:00 2004 +0000

description:
Set USE_LIBTOOL, and add -ldl for Linux.
Addresses PR 26617 by Pancake.

diffstat:

 graphics/libcaca/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r b0174373dd73 -r 404319e4ad58 graphics/libcaca/Makefile
--- a/graphics/libcaca/Makefile Thu Aug 12 16:49:30 2004 +0000
+++ b/graphics/libcaca/Makefile Thu Aug 12 19:36:00 2004 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index