diff options
author | smace <smace@FreeBSD.org> | 1998-09-20 00:38:41 +0800 |
---|---|---|
committer | smace <smace@FreeBSD.org> | 1998-09-20 00:38:41 +0800 |
commit | b560ddf4a88da39ac11bebdbfacd1a314ff1373d (patch) | |
tree | 38c3e7f43af09cfdb035e097fef822aa9fea2692 /print/a2ps-letter | |
parent | 213bd63e72b0e7fa66fb8eb58847062b9ebb2e55 (diff) | |
download | freebsd-ports-gnome-b560ddf4a88da39ac11bebdbfacd1a314ff1373d.tar.gz freebsd-ports-gnome-b560ddf4a88da39ac11bebdbfacd1a314ff1373d.tar.zst freebsd-ports-gnome-b560ddf4a88da39ac11bebdbfacd1a314ff1373d.zip |
Convert to Elf.
Diffstat (limited to 'print/a2ps-letter')
-rw-r--r-- | print/a2ps-letter/Makefile | 4 | ||||
-rw-r--r-- | print/a2ps-letter/files/patch-ae | 44 | ||||
-rw-r--r-- | print/a2ps-letter/pkg-plist | 5 |
3 files changed, 49 insertions, 4 deletions
diff --git a/print/a2ps-letter/Makefile b/print/a2ps-letter/Makefile index 22ec2d2263a3..80b3d22e8143 100644 --- a/print/a2ps-letter/Makefile +++ b/print/a2ps-letter/Makefile @@ -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) diff --git a/print/a2ps-letter/files/patch-ae b/print/a2ps-letter/files/patch-ae new file mode 100644 index 000000000000..b002e95d1a69 --- /dev/null +++ b/print/a2ps-letter/files/patch-ae @@ -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 + ;; + diff --git a/print/a2ps-letter/pkg-plist b/print/a2ps-letter/pkg-plist index 208f88c05550..093a7b203fd0 100644 --- a/print/a2ps-letter/pkg-plist +++ b/print/a2ps-letter/pkg-plist @@ -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 |