summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAdam David <adam@FreeBSD.org>1996-07-30 14:04:50 +0000
committerAdam David <adam@FreeBSD.org>1996-07-30 14:04:50 +0000
commit3846232e570aa3c0464ef869490b58f2ba314d19 (patch)
treeabcf0e9b3e3705f801f8ff49eb8228ca1f306df3 /net
parentUpgrade to version 2.31 (diff)
workaround bogus diff in distribution patchfile
Notes
Notes: svn path=/head/; revision=3462
Diffstat (limited to 'net')
-rw-r--r--net/dgd-net/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/net/dgd-net/Makefile b/net/dgd-net/Makefile
index 63a24c796257..e8c5e2d26f87 100644
--- a/net/dgd-net/Makefile
+++ b/net/dgd-net/Makefile
@@ -3,7 +3,7 @@
# Date created: 17 June 1996
# Whom: adam
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1996/06/18 11:15:43 adam Exp $
#
DISTNAME= dgd-net-1.0.56
@@ -25,7 +25,20 @@ RESTRICTED= license required for commercial use
DIST_SUBDIR= dgd
WRKSRC= ${WRKDIR}/dgd/src
-PATCH_DIST_STRIP= -p1
+#PATCH_DIST_STRIP= -p1
+
+pre-patch:
+ @for i in ${WRKSRC}/host/pc/res/*.ico; do \
+ mv $$i $$i.bak; \
+ echo '\ No newline at end of file' >$$i; \
+ done
+ @ln -sf ${WRKDIR}/dgd ${WRKSRC}
+
+post-patch:
+ @for i in ${WRKSRC}/host/pc/res/*.ico; do \
+ rm $$i.orig; \
+ mv $$i.bak $$i; \
+ done
post-build:
@cd ${WRKSRC}; ${MAKE} install