ports/99389: [PATCH] databases/firebird-devel: Use USE_LDCONFIG

Renato Botelho garga at FreeBSD.org
Fri Jun 23 19:20:24 UTC 2006


>Number:         99389
>Category:       ports
>Synopsis:       [PATCH] databases/firebird-devel: Use USE_LDCONFIG
>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:   Fri Jun 23 19:20:23 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD srv1.galle.com.br 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May 23 18:08:29 BRST 2006
>Description:
Use USE_LDCONFIG model instead install rc.d/000.firebird.sh

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- firebird-devel-2.0.a3_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/firebird-devel/Makefile,v
retrieving revision 1.37
diff -u -u -r1.37 Makefile
--- Makefile	4 May 2006 21:39:55 -0000	1.37
+++ Makefile	23 Jun 2006 19:10:44 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	firebird
 PORTVERSION=	2.0.a3
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	http://www.ramenzoni.com.br/~garga/firebird/ \
 		http://www.galle.com.br/~garga/firebird/ \
@@ -29,8 +30,7 @@
 CONFLICTS=	firebird-client-1.*
 
 WRKSRC=		${WRKDIR}/firebird2
-INSTALLS_SHLIB=	yes
-LDCONFIG_DIRS=	%%PREFIX%%/firebird/lib
+USE_LDCONFIG=	${PREFIX}/firebird/lib
 SUB_FILES=	pkg-message pkg-install
 
 ONLY_FOR_ARCHS=	i386
@@ -38,7 +38,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 500000
-BROKEN=	"Does not build on FreeBSD-4.x"
+BROKEN=	Does not build on FreeBSD-4.x
 .endif
 
 pre-everything::
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/databases/firebird-devel/pkg-plist,v
retrieving revision 1.9
diff -u -u -r1.9 pkg-plist
--- pkg-plist	22 Jan 2006 01:28:54 -0000	1.9
+++ pkg-plist	23 Jun 2006 19:10:44 -0000
@@ -1,5 +1,4 @@
 @comment $FreeBSD: ports/databases/firebird-devel/pkg-plist,v 1.9 2006/01/22 01:28:54 edwin Exp $
- at unexec rm -f %%LOCALBASE%%/etc/rc.d/000.firebird.sh
 firebird/README
 firebird/UDF/fbudf.so
 firebird/UDF/fbudf.sql
Index: files/pkg-install.in
===================================================================
RCS file: /home/pcvs/ports/databases/firebird-devel/files/pkg-install.in,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-install.in
--- files/pkg-install.in	7 May 2005 21:41:51 -0000	1.1
+++ files/pkg-install.in	23 Jun 2006 19:10:44 -0000
@@ -133,13 +133,6 @@
 chmod 444 aliases.conf firebird.conf
 chmod 660 security2.fdb
 
-# shared lib startup script
-if [ -d $PKG_PREFIX/etc/rc.d ]; then
-	(
-	echo "#!/bin/sh"; echo "[ -d $PKG_PREFIX/firebird/lib ] && /sbin/ldconfig -m $PKG_PREFIX/firebird/lib"
-	) > %%LOCALBASE%%/etc/rc.d/000.firebird.sh
-  chmod a=rx %%LOCALBASE%%/etc/rc.d/000.firebird.sh
-fi
 ;;
 
 esac
--- firebird-devel-2.0.a3_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list