Run ranlib from post-install instead of pkg/PLIST.

This commit is contained in:
Steve Price 1999-07-04 21:46:28 +00:00
parent 38f095818e
commit 6c188f234e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20055
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
# Date created: 14 September 1994
# Whom: jkh
#
# $Id: Makefile,v 1.22 1999/02/16 12:22:20 thepish Exp $
# $Id: Makefile,v 1.23 1999/02/18 09:25:29 thepish Exp $
#
DISTNAME= xpm-3.4k
@ -23,5 +23,6 @@ post-install:
${LN} -sf libXpm.so.4.11 ${PREFIX}/lib/libXpm.so
.endif
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@ranlib ${PREFIX}/lib/libXpm.a
.include <bsd.port.post.mk>

View file

@ -2,7 +2,6 @@ bin/cxpm
bin/sxpm
include/X11/xpm.h
lib/libXpm.a
@exec ranlib %D/%F
lib/libXpm.so
lib/libXpm.so.4.11
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B