aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jpeg
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1998-09-15 03:36:37 +0800
committermarkm <markm@FreeBSD.org>1998-09-15 03:36:37 +0800
commitbd79172f64d856309d6e3e2aad8b47be013841c8 (patch)
treea0d694cf95f868dfdea2637cdbae925f1a0895e8 /graphics/jpeg
parent85bf026b85c865a8a7a17c2b3f18bf4a70dd48f0 (diff)
downloadfreebsd-ports-gnome-bd79172f64d856309d6e3e2aad8b47be013841c8.tar.gz
freebsd-ports-gnome-bd79172f64d856309d6e3e2aad8b47be013841c8.tar.zst
freebsd-ports-gnome-bd79172f64d856309d6e3e2aad8b47be013841c8.zip
ELF conversions as per Satoshi's instructions.
Diffstat (limited to 'graphics/jpeg')
-rw-r--r--graphics/jpeg/Makefile4
-rw-r--r--graphics/jpeg/pkg-plist7
2 files changed, 6 insertions, 5 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile
index f6ba48555f8c..ab6a306f8d8d 100644
--- a/graphics/jpeg/Makefile
+++ b/graphics/jpeg/Makefile
@@ -3,7 +3,7 @@
# Date created: 6 November 1994
# Whom: smace
#
-# $Id: Makefile,v 1.14 1997/07/17 15:12:43 max Exp $
+# $Id: Makefile,v 1.15 1998/04/15 21:32:49 jseger Exp $
#
DISTNAME= jpegsrc.v6b
@@ -19,6 +19,6 @@ CONFIGURE_ARGS= --enable-shared --enable-static
MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/graphics/jpeg/pkg-plist b/graphics/jpeg/pkg-plist
index a8a4362605f1..eea7385d3349 100644
--- a/graphics/jpeg/pkg-plist
+++ b/graphics/jpeg/pkg-plist
@@ -8,8 +8,9 @@ include/jerror.h
include/jmorecfg.h
include/jpeglib.h
lib/libjpeg.a
+@exec ranlib %D/%F
lib/libjpeg.la
lib/libjpeg.so
-lib/libjpeg.so.9.0
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
+lib/libjpeg.so.9
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R