diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile index 5a8022326cf7..523085a4f9e1 100644 --- a/devel/libslang/Makefile +++ b/devel/libslang/Makefile @@ -3,7 +3,7 @@ # Date created: 11 July 1996 # Whom: ache # -# $Id: Makefile,v 1.12 1998/02/26 07:31:51 ache Exp $ +# $Id: Makefile,v 1.13 1998/05/17 22:38:22 mph Exp $ # DISTNAME= slang1.2.2 @@ -20,6 +20,6 @@ ALL_TARGET= all elf INSTALL_TARGET= install install-elf post-install: - ${LDCONFIG} -m ${PREFIX}/lib + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include diff --git a/devel/libslang/pkg-plist b/devel/libslang/pkg-plist index 46f4c7a62492..9bbf5a6ab7c2 100644 --- a/devel/libslang/pkg-plist +++ b/devel/libslang/pkg-plist @@ -1,7 +1,7 @@ lib/libslang.a lib/libslang.so -lib/libslang.so.1.2.2 -@exec /sbin/ldconfig -m %B -@unexec /sbin/ldconfig -R +lib/libslang.so.1.3 +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R include/slcurses.h include/slang.h