summaryrefslogtreecommitdiff
path: root/mail/mess822
diff options
context:
space:
mode:
authorschmonz <schmonz>2010-03-15 17:28:10 +0000
committerschmonz <schmonz>2010-03-15 17:28:10 +0000
commitecee80b7bca33d5ab92a35ee8568c6ead9d6c8b0 (patch)
tree0774357fb6bdaebccbcaf2e982cc260fcdf2647b /mail/mess822
parentbb99a428f53ad113bdb5c9f1e19c53101f661806 (diff)
downloadpkgsrc-ecee80b7bca33d5ab92a35ee8568c6ead9d6c8b0.tar.gz
DESTDIR support.
Diffstat (limited to 'mail/mess822')
-rw-r--r--mail/mess822/Makefile3
-rw-r--r--mail/mess822/distinfo3
-rw-r--r--mail/mess822/patches/patch-ad43
3 files changed, 47 insertions, 2 deletions
diff --git a/mail/mess822/Makefile b/mail/mess822/Makefile
index c7e3896cacd..8d758ee6f51 100644
--- a/mail/mess822/Makefile
+++ b/mail/mess822/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2009/06/12 18:54:32 rillig Exp $
+# $NetBSD: Makefile,v 1.18 2010/03/15 17:30:02 schmonz Exp $
#
DISTNAME= mess822-0.58
@@ -20,6 +20,7 @@ USE_TOOLS+= nroff
# ${PREFIX}, and patch strerr_sys.c to build on Mac OS X.
DJB_RESTRICTED= YES
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
EGDIR= ${PREFIX}/share/examples/mess822
diff --git a/mail/mess822/distinfo b/mail/mess822/distinfo
index 5fd32787692..4b8c53acd62 100644
--- a/mail/mess822/distinfo
+++ b/mail/mess822/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2008/07/30 10:40:56 schmonz Exp $
+$NetBSD: distinfo,v 1.5 2010/03/15 17:30:02 schmonz Exp $
SHA1 (mess822-0.58.tar.gz) = ef3380c793c852d40688c108d164234ecf8a5362
RMD160 (mess822-0.58.tar.gz) = 40fbcb5af92882e133ab3653c6119022180caedb
@@ -6,3 +6,4 @@ Size (mess822-0.58.tar.gz) = 64287 bytes
SHA1 (patch-aa) = 62464e4d3afb31ad2ef38575cddbee969c8a82b3
SHA1 (patch-ab) = b947129046bbef7012208db39a341648c13ff68f
SHA1 (patch-ac) = af02dc2acf416ae63f93de08bdafdad80faebc12
+SHA1 (patch-ad) = 2d3e489b2cac3fc580200f0ecc61f3987ffaebf0
diff --git a/mail/mess822/patches/patch-ad b/mail/mess822/patches/patch-ad
new file mode 100644
index 00000000000..505a75e5ac9
--- /dev/null
+++ b/mail/mess822/patches/patch-ad
@@ -0,0 +1,43 @@
+$NetBSD: patch-ad,v 1.1 2010/03/15 17:30:02 schmonz Exp $
+
+--- Makefile.orig 1998-09-05 02:33:37.000000000 +0000
++++ Makefile
+@@ -120,6 +120,14 @@ auto-str.o: \
+ compile auto-str.c substdio.h readwrite.h exit.h
+ ./compile auto-str.c
+
++auto_destdir.c: \
++auto-str conf-destdir
++ ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c
++
++auto_destdir.o: \
++compile auto_destdir.c
++ ./compile auto_destdir.c
++
+ auto_home.c: \
+ auto-str conf-home
+ ./auto-str auto_home `head -1 conf-home` > auto_home.c
+@@ -359,9 +367,9 @@ exit.h
+ ./compile iftocc.c
+
+ install: \
+-load install.o hier.o auto_home.o strerr.a substdio.a stralloc.a \
++load install.o hier.o auto_destdir.o strerr.a substdio.a stralloc.a \
+ alloc.a open.a error.a str.a
+- ./load install hier.o auto_home.o strerr.a substdio.a \
++ ./load install hier.o auto_destdir.o strerr.a substdio.a \
+ stralloc.a alloc.a open.a error.a str.a
+
+ install.o: \
+@@ -370,9 +378,9 @@ exit.h
+ ./compile install.c
+
+ instcheck: \
+-load instcheck.o hier.o auto_home.o strerr.a substdio.a stralloc.a \
++load instcheck.o hier.o auto_destdir.o strerr.a substdio.a stralloc.a \
+ alloc.a error.a str.a
+- ./load instcheck hier.o auto_home.o strerr.a substdio.a \
++ ./load instcheck hier.o auto_destdir.o strerr.a substdio.a \
+ stralloc.a alloc.a error.a str.a
+
+ instcheck.o: \