don't try to strip shared libs on machines where shared libs aren't installed

This commit is contained in:
marc 1998-08-20 20:56:47 +00:00
parent 258288c034
commit 2e09de80aa

View File

@ -3,7 +3,7 @@
# Date created: December 10, 1996 # Date created: December 10, 1996
# Whom: form@vs.itam.nsc.ru # Whom: form@vs.itam.nsc.ru
# #
# $OpenBSD: Makefile,v 1.11 1998/08/17 17:37:53 marc Exp $ # $OpenBSD: Makefile,v 1.12 1998/08/20 20:56:47 marc Exp $
# FreeBSD: Makefile,v 1.17 1998/03/28 14:12:55 steve Exp # FreeBSD: Makefile,v 1.17 1998/03/28 14:12:55 steve Exp
# #
@ -56,7 +56,12 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/clients/Motif-1.2/mwm/alt.map ${PREFIX}/lib/X11/mwm ${INSTALL_DATA} ${WRKSRC}/clients/Motif-1.2/mwm/alt.map ${PREFIX}/lib/X11/mwm
${INSTALL_DATA} ${WRKSRC}/clients/Motif-1.2/mwm/Mwm \ ${INSTALL_DATA} ${WRKSRC}/clients/Motif-1.2/mwm/Mwm \
${PREFIX}/lib/X11/app-defaults/Mwm ${PREFIX}/lib/X11/app-defaults/Mwm
/usr/bin/strip ${PREFIX}/lib/libXm.so.1.2 ${PREFIX}/lib/libMrm.so.1.2 [ ! -f ${PREFIX}/lib/libXm.so.1.2 ] || \
/usr/bin/strip ${PREFIX}/lib/libXm.so.1.2
[ ! -f ${PREFIX}/lib/libMrm.so.1.2 ] || \
/usr/bin/strip ${PREFIX}/lib/libMrm.so.1.2
[ ! -f ${PREFIX}/lib/libXm.so.2.0 ] || \
/usr/bin/strip ${PREFIX}/lib/libXm.so.2.0
${LDCONFIG} -m ${PREFIX}/lib ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk> .include <bsd.port.mk>