diff options
author | adam <adam@FreeBSD.org> | 1996-07-30 22:04:50 +0800 |
---|---|---|
committer | adam <adam@FreeBSD.org> | 1996-07-30 22:04:50 +0800 |
commit | 807c3053398bf9f2098ceda12cbcc28db366b67d (patch) | |
tree | 96e18d6643649c726d855979f8704d58c2abefd7 /net | |
parent | 7462b95cc5952252aacb9cf6df537c224705e6d3 (diff) | |
download | freebsd-ports-gnome-807c3053398bf9f2098ceda12cbcc28db366b67d.tar.gz freebsd-ports-gnome-807c3053398bf9f2098ceda12cbcc28db366b67d.tar.zst freebsd-ports-gnome-807c3053398bf9f2098ceda12cbcc28db366b67d.zip |
workaround bogus diff in distribution patchfile
Diffstat (limited to 'net')
-rw-r--r-- | net/dgd-net/Makefile | 17 |
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 |