port courtesy of jbi130@mail.usask.ca
This commit is contained in:
parent
372c136c79
commit
56bdb8ecd0
21
devel/libtool/Makefile
Normal file
21
devel/libtool/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/11/10 06:24:25 marc Exp $
|
||||
# FreeBSD: Makefile,v 1.2 1998/09/23 16:15:53 vanilla Exp $
|
||||
#
|
||||
|
||||
DISTNAME= libtool-1.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
|
||||
MAINTAINER= jbi130@mail.usask.ca
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}"
|
||||
|
||||
post-install:
|
||||
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
||||
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
||||
fi
|
||||
@install-info ${PREFIX}/info/libtool.info ${PREFIX}/info/dir
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/libtool/files/md5
Normal file
1
devel/libtool/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (libtool-1.2.tar.gz) = 66b016fdf220682affbfdcaa2225a9bd
|
11
devel/libtool/patches/patch-aa
Normal file
11
devel/libtool/patches/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- doc/libtool.texi.orig Wed Mar 11 02:04:36 1998
|
||||
+++ doc/libtool.texi Mon Apr 27 16:57:24 1998
|
||||
@@ -10,7 +10,7 @@
|
||||
@set BUGADDR the libtool mailing list @email{<bug-libtool@@gnu.org>}
|
||||
@set objdir .libs
|
||||
|
||||
-@dircategory GNU programming tools
|
||||
+@dircategory Programming & development tools
|
||||
@direntry
|
||||
* Libtool: (libtool). Generic shared library support script.
|
||||
@end direntry
|
11
devel/libtool/patches/patch-ab
Normal file
11
devel/libtool/patches/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- doc/Makefile.in.orig Fri Mar 20 17:01:52 1998
|
||||
+++ doc/Makefile.in Mon Apr 27 17:22:55 1998
|
||||
@@ -56,7 +56,7 @@
|
||||
LD = @LD@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
-MAKEINFO = @MAKEINFO@
|
||||
+MAKEINFO = @MAKEINFO@ --no-split
|
||||
NM = @NM@
|
||||
PACKAGE = @PACKAGE@
|
||||
RANLIB = @RANLIB@
|
44
devel/libtool/patches/patch-ac
Normal file
44
devel/libtool/patches/patch-ac
Normal file
@ -0,0 +1,44 @@
|
||||
--- ltmain.sh.orig Wed Sep 23 23:37:14 1998
|
||||
+++ ltmain.sh Wed Sep 23 23:38:02 1998
|
||||
@@ -967,6 +967,16 @@
|
||||
versuffix="$current.$revision"
|
||||
;;
|
||||
|
||||
+ freebsd)
|
||||
+ version_vars="$version_vars major versuffix"
|
||||
+ major="$current"
|
||||
+ if [ $PORTOBJFORMAT = elf ]; then
|
||||
+ versuffix="$current";
|
||||
+ else
|
||||
+ versuffix="$current.$revision";
|
||||
+ fi
|
||||
+ ;;
|
||||
+
|
||||
*)
|
||||
$echo "$modename: unknown library version type \`$version_type'" 1>&2
|
||||
echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
|
||||
--- ltconfig.orig Wed Sep 23 23:37:18 1998
|
||||
+++ ltconfig Wed Sep 23 23:39:06 1998
|
||||
@@ -1123,10 +1123,21 @@
|
||||
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
|
||||
;;
|
||||
|
||||
-freebsd2* | freebsd3*)
|
||||
+freebsd2*)
|
||||
version_type=sunos
|
||||
library_names_spec='${libname}${release}.so.$versuffix $libname.so'
|
||||
finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ ;;
|
||||
+
|
||||
+freebsd3*)
|
||||
+ version_type=freebsd
|
||||
+ library_names_spec='${libname}${release}.so.$versuffix $libname.so'
|
||||
+ if [ $PORTOBJFORMAT = elf ]; then
|
||||
+ finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir'
|
||||
+ else
|
||||
+ finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
|
||||
+ fi
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
1
devel/libtool/pkg/COMMENT
Normal file
1
devel/libtool/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Generic shared library support script.
|
6
devel/libtool/pkg/DESCR
Normal file
6
devel/libtool/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
This is GNU Libtool, a generic library support script. Libtool hides
|
||||
the complexity of using shared libraries behind a consistent, portable
|
||||
interface.
|
||||
|
||||
To use libtool, add the new generic library building commands to your
|
||||
Makefile, Makefile.in, or Makefile.am.
|
13
devel/libtool/pkg/PLIST
Normal file
13
devel/libtool/pkg/PLIST
Normal file
@ -0,0 +1,13 @@
|
||||
bin/libtool
|
||||
bin/libtoolize
|
||||
@unexec install-info --delete %D/info/libtool.info %D/info/dir
|
||||
info/libtool.info
|
||||
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
|
||||
@exec install-info %D/info/libtool.info %D/info/dir
|
||||
share/aclocal/libtool.m4
|
||||
share/libtool/config.guess
|
||||
share/libtool/config.sub
|
||||
share/libtool/ltconfig
|
||||
share/libtool/ltmain.sh
|
||||
@dirrm share/libtool
|
||||
@unexec rmdir %D/share/aclocal 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user