diff options
author | dholland <dholland> | 2012-04-30 02:51:50 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-04-30 02:51:50 +0000 |
commit | 0e3ccbd00901e0f939beb96371994a4093e555a5 (patch) | |
tree | e079b38f900edbec84f99ed40d990142f6a762da /lang/objc | |
parent | 02c9743f69f33d9f777ca590109fb349932afb54 (diff) | |
download | pkgsrc-0e3ccbd00901e0f939beb96371994a4093e555a5.tar.gz |
DESTDIR support.
Diffstat (limited to 'lang/objc')
-rw-r--r-- | lang/objc/Makefile | 4 | ||||
-rw-r--r-- | lang/objc/distinfo | 3 | ||||
-rw-r--r-- | lang/objc/patches/patch-Makefile_in | 17 |
3 files changed, 22 insertions, 2 deletions
diff --git a/lang/objc/Makefile b/lang/objc/Makefile index c57dfcdea8e..8a98d613c86 100644 --- a/lang/objc/Makefile +++ b/lang/objc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2012/01/03 01:25:28 dholland Exp $ +# $NetBSD: Makefile,v 1.13 2012/04/30 02:51:50 dholland Exp $ DISTNAME= objc-3.2.6 CATEGORIES= lang @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://users.pandora.be/stes/compiler.html COMMENT= Portable Object Compiler +PKG_DESTDIR_SUPPORT= user-destdir + DIST_BS= objc-bootstrap-3.1.33 WRKSRC_BS= ${WRKDIR}/${DIST_BS} diff --git a/lang/objc/distinfo b/lang/objc/distinfo index 569a5b4757c..d4e5ff7fc63 100644 --- a/lang/objc/distinfo +++ b/lang/objc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2012/01/03 01:25:28 dholland Exp $ +$NetBSD: distinfo,v 1.5 2012/04/30 02:51:50 dholland Exp $ SHA1 (objc-bootstrap-3.1.33.tar.gz) = d6e621d0a586c9767954eb3d9e042b4418ac6cf2 RMD160 (objc-bootstrap-3.1.33.tar.gz) = 9425d9a6f5ffe40dd92ceb21275ea38f2758c54c @@ -6,5 +6,6 @@ Size (objc-bootstrap-3.1.33.tar.gz) = 343075 bytes SHA1 (objc-3.2.6.tar.gz) = 983af46f131c3c8e259f3827f3b8bb6ebce76b35 RMD160 (objc-3.2.6.tar.gz) = e77277552f0535882e742b850fb073dab243cefb Size (objc-3.2.6.tar.gz) = 877706 bytes +SHA1 (patch-Makefile_in) = 304253fb7f0b53b1d9cae84dab4b6204fdd235c6 SHA1 (patch-aa) = ad26cc667e248c87010c3df0e24885b330b4c342 SHA1 (patch-ab) = 1b9ce954711131bfd8153f0ec390f8b0c6d78cda diff --git a/lang/objc/patches/patch-Makefile_in b/lang/objc/patches/patch-Makefile_in new file mode 100644 index 00000000000..8bc8ec665af --- /dev/null +++ b/lang/objc/patches/patch-Makefile_in @@ -0,0 +1,17 @@ +$NetBSD: patch-Makefile_in,v 1.1 2012/04/30 02:51:50 dholland Exp $ + +destdir support. + +--- Makefile.in~ 2000-10-29 21:20:20.000000000 +0000 ++++ Makefile.in +@@ -78,8 +78,8 @@ tags : + # + + install : bootstrap +- test -d $(INSTALLDIR) || $(MKDIR) $(INSTALLDIR) +- $(TAR) cf - $(TARARGS) bin lib man include | ( $(CD) ${INSTALLDIR}; $(TAR) xvf - $(TARARGS)) ++ test -d $(DESTDIR)$(INSTALLDIR) || $(MKDIR) $(DESTDIR)$(INSTALLDIR) ++ $(TAR) cf - $(TARARGS) bin lib man include | ( $(CD) $(DESTDIR)${INSTALLDIR}; $(TAR) xvf - $(TARARGS)) + + cleantmp : + -$(CD) src; $(CD) objcrt; $(MAKE) cleantmp |