Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 19:04:04 +0900 (JST)
From:      Kimura Fuyuki <fuyuki@hadaly.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45261: Update port: devel/libtecla (enable shlib)
Message-ID:  <20021113100404.8B99458C3@hadaly.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         45261
>Category:       ports
>Synopsis:       Update port: devel/libtecla (enable shlib)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 13 02:10:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.7-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD hadaly.dyndns.org 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #2: Thu Oct 24 12:00:51 JST 2002 root@hadaly.dyndns.org:/sack/tmp/obj/pub/src/sys/NS i386


	
>Description:
Build and install a shared library.

Added files:
  files/patch-configure.in
	
>How-To-Repeat:
	
>Fix:
diff -ruN --exclude=CVS libtecla.orig/Makefile libtecla/Makefile
--- libtecla.orig/Makefile	Wed Nov 13 18:58:57 2002
+++ libtecla/Makefile	Wed Nov 13 18:54:45 2002
@@ -8,18 +8,20 @@
 
 PORTNAME=	libtecla
 PORTVERSION=	1.4.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.astro.caltech.edu/~mcs/tecla/
 
 MAINTAINER=	ports@FreeBSD.org
 
 USE_SUBMAKE=	yes
-GNU_CONFIGURE=	yes
+USE_AUTOCONF=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
 ALL_TARGET=	default
 SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
 	REALCURDIR="${.CURDIR}" \
 	PORTNAME="${PORTNAME}"
+INSTALLS_SHLIB=	yes
 
 post-extract:
 	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/genman3list.sh
diff -ruN --exclude=CVS libtecla.orig/files/patch-configure.in libtecla/files/patch-configure.in
--- libtecla.orig/files/patch-configure.in	Thu Jan  1 09:00:00 1970
+++ libtecla/files/patch-configure.in	Wed Nov 13 18:48:55 2002
@@ -0,0 +1,16 @@
+--- configure.in.orig	Wed Nov 13 18:46:39 2002
++++ configure.in	Wed Nov 13 18:43:42 2002
+@@ -365,6 +365,13 @@
+ *dec-osf*)
+   AC_DEFINE(_OSF_SOURCE)
+   ;;
++*freebsd*)
++  SHARED_EXT=".so.${MAJOR_VER}"
++  SHARED_ALT=".so"
++  VERSION_OPT='--version-script=$$(srcdir)/libtecla.map'
++  LINK_SHARED='ld -o $$@ -soname libtecla$$(SUFFIX).so.'${MAJOR_VER}' -shared '$VERSION_OPT' $$(LIB_OBJECTS) $$(LIBS) -lc'
++  SHARED_CFLAGS="-fpic"
++  ;;
+ esac
+ 
+ dnl The following statement checks to see if the GNU C compiler has
diff -ruN --exclude=CVS libtecla.orig/pkg-plist libtecla/pkg-plist
--- libtecla.orig/pkg-plist	Wed Nov 13 18:58:57 2002
+++ libtecla/pkg-plist	Wed Nov 13 18:51:35 2002
@@ -1,3 +1,5 @@
 bin/enhance
 lib/libtecla.a
+lib/libtecla.so
+lib/libtecla.so.1
 include/libtecla.h

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021113100404.8B99458C3>