1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Warn if build environment doesn't have aout csu libs.

This commit is contained in:
SADA Kenji 1999-09-10 23:07:16 +00:00
parent 792f88eead
commit 5426165a86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21625
3 changed files with 25 additions and 10 deletions

View File

@ -1,13 +1,13 @@
# New ports collection makefile for: libxpg4-ns
# Version required: 3.1-R
# Version required: 3.3
# Date created: 27 February 1999
# Whom: sada
#
# $FreeBSD$
#
DISTNAME= libxpg4-3.1r
PKGNAME= libxpg4-ns-3.1r
DISTNAME= libxpg4-3.3
PKGNAME= libxpg4-ns-3.3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
http://WWW.FreeBSD.ORG/~sada/distfiles/
@ -21,6 +21,12 @@ PORTOBJFORMAT= aout
LIBDIR= ${PREFIX}/lib/aout
SRCDIR= /usr/src
pre-build:
.if !exists(/usr/lib/aout/crt0.o)
@${CAT} ${FILESDIR}/message.nolib
@${FALSE}
.endif
pre-install:
${MKDIR} ${LIBDIR}
@ -29,15 +35,15 @@ post-install:
extract-from-freebsd: # only for port maintainer.
.if exists(/usr/src/lib)
${RM} -rf ${WRKSRC}
${MKDIR} ${WRKSRC}
tar cfC - ${SRCDIR}/lib/libc locale | tar xfC - ${WRKSRC}
${CP} ${SRCDIR}/lib/libxpg4/Makefile ${WRKSRC}/
@${RM} -rf ${WRKSRC}
@${MKDIR} ${WRKSRC}
@tar cfC - ${SRCDIR}/lib/libc locale | tar xfC - ${WRKSRC}
@${CP} ${SRCDIR}/lib/libxpg4/Makefile ${WRKSRC}/
.else
${ECHO} You should INSTALL \"src/lib\" distribution"
@${ECHO} You should INSTALL \"src/lib\" distribution"
.endif
private-distribution: # only for port maintainer.
tar czfC ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKDIR} ${DISTNAME}
@(cd ${WRKDIR}; find ${DISTNAME} -type f | ${GREP} -v 'CVS' | ${SED} -e 's;^./;;' | tar czfCT ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} . -)
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (libxpg4-3.1r.tar.gz) = 6c5be3c40783d1d29e4219d79c3c2fe9
MD5 (libxpg4-3.3.tar.gz) = 6a47366cef50fc0dd6ebf2d73161951d

View File

@ -0,0 +1,9 @@
===
You couldn't build this port for lack of aout csu library files.
You could prepare them as:
1. extract /usr/src/lib (distribution files: src/slib.??)
2. cd /usr/src/lib/csu/i386
3. make clean depend
4. make all install
===