summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2002-01-07 17:26:08 +0000
committerwennmach <wennmach@pkgsrc.org>2002-01-07 17:26:08 +0000
commitecb0b4b6ccfc1cbef932a5f45c815649bd8a3764 (patch)
tree2067fc2bdc10e577cf7fb102ca72e3a25a4a5e0c /sysutils
parent42f3f098e866ce063ab531b8bfb30c5d9a7a25ad (diff)
downloadpkgsrc-ecb0b4b6ccfc1cbef932a5f45c815649bd8a3764.tar.gz
We don't know the state of object files in $BSDSRCDIR, so we always
"make clean" before building. This will remove all soft links pointing to .o files, not the object files themselves. Also, we now mention in the Makefile that a kernel with 'pseudo-device vnd 4' is required in the install stage.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fdgw/Makefile13
-rw-r--r--sysutils/fdgw/distinfo3
-rw-r--r--sysutils/fdgw/patches/patch-ad19
3 files changed, 32 insertions, 3 deletions
diff --git a/sysutils/fdgw/Makefile b/sysutils/fdgw/Makefile
index d679d0dd414..8bac4536a9f 100644
--- a/sysutils/fdgw/Makefile
+++ b/sysutils/fdgw/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/12/26 11:45:22 wennmach Exp $
+# $NetBSD: Makefile,v 1.2 2002/01/07 17:26:08 wennmach Exp $
#
DISTNAME= fdgw-20011216
+PKGREVISION= 1
CATEGORIES= sysutils net
MASTER_SITES= ftp://ftp.fml.org/pub/fdgw/source/
@@ -21,7 +22,7 @@ IGNORE= "${PKGNAME} requires the 'lndir' command, and hence X11"
.if (${MACHINE_ARCH} != "i386")
IGNORE= "Sorry, fdgw is currently only available for i386 machines."
-IGNORE+= "Please report ${MAINTAINER} if you succeed to port fdgw to other architectures"
+IGNORE+= "Please report to ${MAINTAINER} if you succeed to port fdgw to other architectures"
.endif
# we need NetBSD source tree.
@@ -31,6 +32,14 @@ IGNORE= "${PKGNAME} requires the NetBSD source tree in BSDSRCDIR (${BSDSRCDIR})"
ALL_TARGET= dist-build
+pre-fetch:
+ @ ${ECHO} "";
+ @ ${ECHO} "************************************";
+ @ ${ECHO} "Please note: The install stage of fdgw requires a kernel"
+ @ ${ECHO} " with 'pseudo-device vnd 4' enabled.";
+ @ ${ECHO} "************************************";
+ @ ${ECHO} "";
+
pre-install:
(cd ${WRKSRC} && ${MAKE} dist-image)
diff --git a/sysutils/fdgw/distinfo b/sysutils/fdgw/distinfo
index f7454b1dd2d..ec34776f7c5 100644
--- a/sysutils/fdgw/distinfo
+++ b/sysutils/fdgw/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/12/26 11:45:22 wennmach Exp $
+$NetBSD: distinfo,v 1.2 2002/01/07 17:26:08 wennmach Exp $
SHA1 (fdgw-20011216.tar.gz) = ce9558a53e319a51bc45ba447f84dc3950c87e3f
Size (fdgw-20011216.tar.gz) = 121201 bytes
SHA1 (patch-aa) = ff78fad260a48c4af2023859de429142136ec1b9
SHA1 (patch-ab) = c343c8975bfbf0b7ca1f28b291f52b8874308c4e
SHA1 (patch-ac) = f647c6c84fc597be136b2087865b4920b6108ff5
+SHA1 (patch-ad) = fca672e74231950aad28daa3f3bb55a833ca2e0d
diff --git a/sysutils/fdgw/patches/patch-ad b/sysutils/fdgw/patches/patch-ad
new file mode 100644
index 00000000000..1788843fc46
--- /dev/null
+++ b/sysutils/fdgw/patches/patch-ad
@@ -0,0 +1,19 @@
+$NetBSD: patch-ad,v 1.1 2002/01/07 17:26:08 wennmach Exp $
+
+"make clean" first, we don't really know what's left over from a
+previous build in $BSDSRCDIR. Also, don't "make -j 4" (improves
+log file legibillity for debugging purposes).
+
+--- src/Makefile.kernel.orig Fri Jan 4 10:48:02 2002
++++ src/Makefile.kernel Fri Jan 4 10:51:18 2002
+@@ -29,8 +29,9 @@
+ cp -p ${_KERNEL_CONF} ${.WORKDIR}/CONFIG
+ (cd ${.WORKDIR}; \
+ config -s ${_SYS_DIR} ;\
++ make clean;\
+ make depend;\
+- make -j 4 \
++ make \
+ )
+
+