ports/145245: devel/libslang is still referenced by some other ports
Anatoly Borodin
anatoly.borodin at gmail.com
Wed Mar 31 17:20:09 UTC 2010
>Number: 145245
>Category: ports
>Synopsis: devel/libslang is still referenced by some other ports
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 31 17:20:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Anatoly Borodin
>Release:
>Organization:
>Environment:
>Description:
A few ports reference devel/libslang, devel/libslang2 should be used instead.
>How-To-Repeat:
>Fix:
See the patch.
PS editors/jed/Makefile just has "LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2" in two places, one should be removed.
Patch attached with submission follows:
>From 7ad428caf6318e86e77d7e4285595e1c3b7802c2 Mon Sep 17 00:00:00 2001
From: Anatoly Borodin <anatoly.borodin at gmail.com>
Date: Wed, 10 Mar 2010 00:08:20 +0200
Subject: [PATCH] devel/libslang2 instead of devel/libslang.
---
editors/jed/Makefile | 2 --
graphics/libcaca/Makefile | 4 ----
misc/iselect/Makefile | 2 +-
net/trafshow3/Makefile | 2 +-
4 files changed, 2 insertions(+), 8 deletions(-)
diff --git editors/jed/Makefile editors/jed/Makefile
index 7ba9d94..ef9803a 100644
--- editors/jed/Makefile
+++ editors/jed/Makefile
@@ -44,8 +44,6 @@ MAN1= jed.1 rgrep.1
.include <bsd.port.pre.mk>
-LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
-
.if defined(WITHOUT_X11)
PLIST_SUB+= XJED="@comment "
.else
diff --git graphics/libcaca/Makefile graphics/libcaca/Makefile
index d7e030e..8e6bf5c 100644
--- graphics/libcaca/Makefile
+++ graphics/libcaca/Makefile
@@ -43,11 +43,7 @@ USE_EFL+= imlib2
.include <bsd.port.pre.mk>
.if defined(WITH_SLANG)
-. if exists(${LOCALBASE}/lib/libslang.so.1)
-LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang
-. else
LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
-. endif
CONFIGURE_ARGS+=--enable-slang
.else
CONFIGURE_ARGS+=--disable-slang
diff --git misc/iselect/Makefile misc/iselect/Makefile
index d4aebc0..687be1d 100644
--- misc/iselect/Makefile
+++ misc/iselect/Makefile
@@ -19,7 +19,7 @@ GNU_CONFIGURE= yes
MAN1= iselect.1
.if defined(WITH_SLANG)
-LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang
+LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
CONFIGURE_ARGS+= --with-incdir=${LOCALBASE}/include \
--with-libdir=${LOCALBASE}/lib
.endif
diff --git net/trafshow3/Makefile net/trafshow3/Makefile
index ce94645..382cdee 100644
--- net/trafshow3/Makefile
+++ net/trafshow3/Makefile
@@ -23,7 +23,7 @@ LATEST_LINK= trafshow3
.if defined(WITH_TRAFSHOW_SLANG) || \
(exists(${LOCALBASE}/lib/libslang.a) && !defined(WITHOUT_TRAFSHOW_SLANG))
-LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
+LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2
.endif
GNU_CONFIGURE= yes
--
1.7.0.3
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list