aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsmace <smace@FreeBSD.org>1998-09-15 11:38:59 +0800
committersmace <smace@FreeBSD.org>1998-09-15 11:38:59 +0800
commitc32eeafb1c3b156e187eae3a83cc274f32204864 (patch)
tree06f5970bbda14e4c964cdb9fef8b51f2158ce667 /graphics
parentfa677cfe06651e367c857d7a57b7e885d3891866 (diff)
downloadfreebsd-ports-gnome-c32eeafb1c3b156e187eae3a83cc274f32204864.tar.gz
freebsd-ports-gnome-c32eeafb1c3b156e187eae3a83cc274f32204864.tar.zst
freebsd-ports-gnome-c32eeafb1c3b156e187eae3a83cc274f32204864.zip
make ELF conversion comply with standard
Diffstat (limited to 'graphics')
-rw-r--r--graphics/jbigkit/files/patch-ab2
-rw-r--r--graphics/jbigkit/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/graphics/jbigkit/files/patch-ab b/graphics/jbigkit/files/patch-ab
index 39af872b5874..904e6ee1b6fd 100644
--- a/graphics/jbigkit/files/patch-ab
+++ b/graphics/jbigkit/files/patch-ab
@@ -18,7 +18,7 @@
+libjbig.so.1: jbig.so jbig_tab.so
+ rm -f libjbig.so.1
-+ $(CC) -o ${.TARGET} -shared -Wl,-rpath,${PREFIX}/lib -Wl,-soname,${.TARGET} ${.ALLSRC}
++ $(CC) -o ${.TARGET} -shared -Wl,-soname,${.TARGET} ${.ALLSRC}
+ ln -sf libjbig.so.1 libjbig.so
+
jbig.o: jbig.c jbig.h
diff --git a/graphics/jbigkit/pkg-plist b/graphics/jbigkit/pkg-plist
index 0d6a567a5141..1db6c055a65d 100644
--- a/graphics/jbigkit/pkg-plist
+++ b/graphics/jbigkit/pkg-plist
@@ -4,7 +4,7 @@ bin/jbgtopbm
lib/libjbig.a
lib/libjbig.so.1
lib/libjbig.so
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/jbig/jbig.doc
@dirrm share/doc/jbig