aboutsummaryrefslogtreecommitdiffstats
path: root/www/libxpg4-ns
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>1999-09-11 07:07:16 +0800
committersada <sada@FreeBSD.org>1999-09-11 07:07:16 +0800
commit904aca80cb91fadc6187c29f461c074bc07a02dc (patch)
tree52be44dfd7c6777690e6beaef55cffc6073a8bb9 /www/libxpg4-ns
parentacfd24208647cb979f5fbdcb36629cc08b1b1bcd (diff)
downloadfreebsd-ports-gnome-904aca80cb91fadc6187c29f461c074bc07a02dc.tar.gz
freebsd-ports-gnome-904aca80cb91fadc6187c29f461c074bc07a02dc.tar.zst
freebsd-ports-gnome-904aca80cb91fadc6187c29f461c074bc07a02dc.zip
Warn if build environment doesn't have aout csu libs.
Diffstat (limited to 'www/libxpg4-ns')
-rw-r--r--www/libxpg4-ns/Makefile24
-rw-r--r--www/libxpg4-ns/distinfo2
-rw-r--r--www/libxpg4-ns/files/message.nolib9
3 files changed, 25 insertions, 10 deletions
diff --git a/www/libxpg4-ns/Makefile b/www/libxpg4-ns/Makefile
index 92a84f009723..f7524b9c360c 100644
--- a/www/libxpg4-ns/Makefile
+++ b/www/libxpg4-ns/Makefile
@@ -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>
diff --git a/www/libxpg4-ns/distinfo b/www/libxpg4-ns/distinfo
index 57f91b6f0795..6ccc1f2281cc 100644
--- a/www/libxpg4-ns/distinfo
+++ b/www/libxpg4-ns/distinfo
@@ -1 +1 @@
-MD5 (libxpg4-3.1r.tar.gz) = 6c5be3c40783d1d29e4219d79c3c2fe9
+MD5 (libxpg4-3.3.tar.gz) = 6a47366cef50fc0dd6ebf2d73161951d
diff --git a/www/libxpg4-ns/files/message.nolib b/www/libxpg4-ns/files/message.nolib
new file mode 100644
index 000000000000..c1d81c95e326
--- /dev/null
+++ b/www/libxpg4-ns/files/message.nolib
@@ -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
+===