deal with non a.out archs

This commit is contained in:
niklas 1997-12-03 19:56:19 +00:00
parent bdde903e8c
commit e4db2e009d

View File

@ -3,7 +3,7 @@
# Date created: 19 November 1997
# Whom: todd@OpenBSD.org
#
# $OpenBSD: Makefile,v 1.1.1.1 1997/11/20 00:18:38 todd Exp $
# $OpenBSD: Makefile,v 1.2 1997/12/03 19:56:19 niklas Exp $
#
DISTNAME= slang0.99-38
@ -14,12 +14,21 @@ MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/
MAINTAINER= todd@OpenBSD.org
GNU_CONFIGURE= yes
ALL_TARGET= all elf
INSTALL_TARGET= install install-elf
ALL_TARGET= all
INSTALL_TARGET= install
.if (${MACHINE_ARCH} != "alpha")
ALL_TARGET+= elf
INSTALL_TARGET+=install-elf
.endif
WRKSRC= ${WRKDIR}/slang
post-install:
.if (${MACHINE_ARCH} != "alpha")
@rm -f ${PREFIX}/lib/libslang.so.99.3[348]
.if (${MACHINE_ARCH} == "mips")
${LDCONFIG} -n ${PREFIX}/lib
.else
${LDCONFIG} -m ${PREFIX}/lib
.endif
.endif
.include <bsd.port.mk>