From 88e0167480428f10f84d183b3428134aeec44a27 Mon Sep 17 00:00:00 2001 From: vanilla Date: Tue, 22 Sep 1998 15:47:44 +0000 Subject: Convert esound to elf. --- audio/esound/Makefile | 4 ++-- audio/esound/files/patch-ab | 53 ++++++++++++++++++++++++++++++++++++--------- audio/esound/pkg-plist | 4 +++- 3 files changed, 48 insertions(+), 13 deletions(-) diff --git a/audio/esound/Makefile b/audio/esound/Makefile index fa0fa327a80..4483c5f138f 100644 --- a/audio/esound/Makefile +++ b/audio/esound/Makefile @@ -3,7 +3,7 @@ # Date created: 19 July 1998 # Whom: Vanilla I. Shu # -# $Id: Makefile,v 1.2 1998/07/20 10:01:55 asami Exp $ +# $Id: Makefile,v 1.3 1998/08/05 09:30:43 asami Exp $ # DISTNAME= esound-0.2.4 @@ -20,6 +20,6 @@ GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/esound post-install: - ${LDCONFIG} -m ${PREFIX}/lib + @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include diff --git a/audio/esound/files/patch-ab b/audio/esound/files/patch-ab index 04429675292..c6a21759561 100644 --- a/audio/esound/files/patch-ab +++ b/audio/esound/files/patch-ab @@ -1,11 +1,44 @@ ---- ltconfig.orig Sun Jul 19 12:15:10 1998 -+++ ltconfig Sun Jul 19 12:15:37 1998 -@@ -778,7 +778,7 @@ +--- ltmain.sh.orig Tue Sep 22 23:31:41 1998 ++++ ltmain.sh Tue Sep 22 23:35:18 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 Tue Sep 22 23:31:38 1998 ++++ ltconfig Tue Sep 22 23:37:19 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 + ;; - # FreeBSD 3, at last, uses gcc -shared to do shared libraries. - freebsd3*) -- archive_cmds='$CC -shared -o $lib$libobjs' -+ archive_cmds='$LD -Bshareable -o $lib$libobjs /usr/lib/aout/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_minus_L=yes diff --git a/audio/esound/pkg-plist b/audio/esound/pkg-plist index 37e53b4a1d7..66ec22350b5 100644 --- a/audio/esound/pkg-plist +++ b/audio/esound/pkg-plist @@ -9,4 +9,6 @@ include/esd.h lib/libesd.a lib/libesd.la lib/libesd.so -lib/libesd.so.0.0 +lib/libesd.so.0 +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B -- cgit ption value='dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Convert Python ports to FLAVORS.mat2017-11-302-7/+10
* - Update to 0.10.5amdmi32016-12-132-3/+4
* - Update to 0.10.4sunpoet2015-07-023-5/+5
* Modernize mythonbapt2014-08-291-3/+2
* - Update to 0.10.3culot2014-05-233-6/+7
* - Update to 0.8swills2014-04-282-3/+3
* - Convert to autoplistmiwi2014-03-092-4/+3
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-21