ports/101443: [PATCH] science/kst: fix depends

Stanislav Sedov ssedov at mbsd.msk.ru
Sat Aug 5 21:50:25 UTC 2006


>Number:         101443
>Category:       ports
>Synopsis:       [PATCH] science/kst: fix depends
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 05 21:50:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug  2 21:44:37 MSD
>Description:
 - Add readline as dependency when it was already installed. The program
   will be linked against it anyway, not against a system one.
 - Update icons cache

Copy of this message was sent to (kay_lehmann at web.de).

>How-To-Repeat:
>Fix:

--- kst-1.2.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/science/kst/Makefile /var/tmp/kst/Makefile
--- /usr/ports/science/kst/Makefile	Sat May  6 05:28:22 2006
+++ /var/tmp/kst/Makefile	Sun Aug  6 01:34:12 2006
@@ -21,7 +21,8 @@
 USE_KDELIBS_VER=3
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	libtool:15
-INSTALLS_SHLIB=	yes
+USE_LDCONFIG=	yes
+INSTALLS_ICONS=	yes
 USE_GETTEXT=	yes
 
 OPTIONS=	NETCDF "Enable netcdf file support" off \
@@ -31,7 +32,7 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 500000
+.if ${OSVERSION} < 500000 || exists(${LOCALBASE}/lib/libreadline.so.5)
 LIB_DEPENDS+=	readline.5:${PORTSDIR}/devel/readline
 .endif
 
--- kst-1.2.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list