mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
Warn if build environment doesn't have aout csu libs.
This commit is contained in:
parent
792f88eead
commit
5426165a86
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21625
@ -1,13 +1,13 @@
|
|||||||
# New ports collection makefile for: libxpg4-ns
|
# New ports collection makefile for: libxpg4-ns
|
||||||
# Version required: 3.1-R
|
# Version required: 3.3
|
||||||
# Date created: 27 February 1999
|
# Date created: 27 February 1999
|
||||||
# Whom: sada
|
# Whom: sada
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= libxpg4-3.1r
|
DISTNAME= libxpg4-3.3
|
||||||
PKGNAME= libxpg4-ns-3.1r
|
PKGNAME= libxpg4-ns-3.3
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
|
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
|
||||||
http://WWW.FreeBSD.ORG/~sada/distfiles/
|
http://WWW.FreeBSD.ORG/~sada/distfiles/
|
||||||
@ -21,6 +21,12 @@ PORTOBJFORMAT= aout
|
|||||||
LIBDIR= ${PREFIX}/lib/aout
|
LIBDIR= ${PREFIX}/lib/aout
|
||||||
SRCDIR= /usr/src
|
SRCDIR= /usr/src
|
||||||
|
|
||||||
|
pre-build:
|
||||||
|
.if !exists(/usr/lib/aout/crt0.o)
|
||||||
|
@${CAT} ${FILESDIR}/message.nolib
|
||||||
|
@${FALSE}
|
||||||
|
.endif
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
${MKDIR} ${LIBDIR}
|
${MKDIR} ${LIBDIR}
|
||||||
|
|
||||||
@ -29,15 +35,15 @@ post-install:
|
|||||||
|
|
||||||
extract-from-freebsd: # only for port maintainer.
|
extract-from-freebsd: # only for port maintainer.
|
||||||
.if exists(/usr/src/lib)
|
.if exists(/usr/src/lib)
|
||||||
${RM} -rf ${WRKSRC}
|
@${RM} -rf ${WRKSRC}
|
||||||
${MKDIR} ${WRKSRC}
|
@${MKDIR} ${WRKSRC}
|
||||||
tar cfC - ${SRCDIR}/lib/libc locale | tar xfC - ${WRKSRC}
|
@tar cfC - ${SRCDIR}/lib/libc locale | tar xfC - ${WRKSRC}
|
||||||
${CP} ${SRCDIR}/lib/libxpg4/Makefile ${WRKSRC}/
|
@${CP} ${SRCDIR}/lib/libxpg4/Makefile ${WRKSRC}/
|
||||||
.else
|
.else
|
||||||
${ECHO} You should INSTALL \"src/lib\" distribution"
|
@${ECHO} You should INSTALL \"src/lib\" distribution"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
private-distribution: # only for port maintainer.
|
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>
|
.include <bsd.port.mk>
|
||||||
|
@ -1 +1 @@
|
|||||||
MD5 (libxpg4-3.1r.tar.gz) = 6c5be3c40783d1d29e4219d79c3c2fe9
|
MD5 (libxpg4-3.3.tar.gz) = 6a47366cef50fc0dd6ebf2d73161951d
|
||||||
|
9
www/libxpg4-ns/files/message.nolib
Normal file
9
www/libxpg4-ns/files/message.nolib
Normal 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
|
||||||
|
===
|
Loading…
x
Reference in New Issue
Block a user