mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-24 21:01:20 +00:00
Convert to Elf.
This commit is contained in:
parent
013a4a7172
commit
298a349d56
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13245
@ -3,7 +3,7 @@
|
||||
# Date created: 15 July 1998
|
||||
# Whom: Chuck Robey (chuckr@freebsd.org)
|
||||
#
|
||||
# $Id: Makefile,v 1.18 1998/07/21 11:13:52 asami Exp $
|
||||
# $Id: Makefile,v 1.19 1998/07/21 13:48:19 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= a2ps-4.10.3
|
||||
@ -44,7 +44,7 @@ pre-configure:
|
||||
${ECHO} ${PAPERSIZE} > ${WRKDIR}/.media
|
||||
|
||||
post-install:
|
||||
${LDCONFIG} -R ${PREFIX}/lib
|
||||
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||
strip ${PREFIX}/bin/a2ps
|
||||
(cd ${WRKSRC}/doc; ${MAKE} install)
|
||||
|
||||
|
44
print/a2ps-letter/files/patch-ae
Normal file
44
print/a2ps-letter/files/patch-ae
Normal file
@ -0,0 +1,44 @@
|
||||
--- auxdir/ltmain.sh.orig Sat Sep 19 10:47:03 1998
|
||||
+++ auxdir/ltmain.sh Sat Sep 19 10:51:53 1998
|
||||
@@ -972,6 +972,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
|
||||
--- auxdir/ltconfig.orig Sat Sep 19 10:46:55 1998
|
||||
+++ auxdir/ltconfig Sat Sep 19 10:50:30 1998
|
||||
@@ -1155,10 +1155,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
|
||||
;;
|
||||
|
@ -249,9 +249,10 @@ info/regex.info-3
|
||||
@exec install-info --info-dir=%D/info %D/info/a2ps.info
|
||||
@exec install-info --info-dir=%D/info %D/info/ogonkify.info
|
||||
include/liba2ps.h
|
||||
lib/liba2ps.so.1.0
|
||||
lib/liba2ps.so.1
|
||||
lib/liba2ps.a
|
||||
@exec /bin/ldconfig -m %D/lib
|
||||
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
|
||||
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
|
||||
@dirrm share/a2ps/ps
|
||||
@dirrm share/a2ps/afm
|
||||
@dirrm share/a2ps/fonts
|
||||
|
Loading…
Reference in New Issue
Block a user