pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/guile Makefile strangeness on MacOS X



On Fri, 28 Mar 2008 09:49:09 -0500 (CDT)
"John D. Baker" <jdbaker%mylinuxisp.com@localhost> wrote:

> Since pkgsrc-2007Q3, whenever I perform an operation that involves
> lang/guile/Makefile ('lintpkgsrc -r -u', 'bmake clean-depends' on
> some packages, etc.), I get the following messages:
> 
> [...]
> ===> Cleaning for libxml2-2.6.31
> ===> Cleaning for shared-mime-info-0.23
> ===> Cleaning for libtool-base-1.5.24nb5
> bmake: "/Volumes/NetBSD/pkgsrc/lang/guile/Makefile" line 65: warning: 
> duplicate script for target "post-patch" ignored
> bmake: "/Volumes/NetBSD/pkgsrc/lang/guile/Makefile" line 48: warning: using 
> previous script for "post-patch" defined here

Does this patch work?

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/guile/Makefile,v
retrieving revision 1.84
diff -u -p -u -r1.84 Makefile
--- Makefile    27 Feb 2008 12:35:48 -0000      1.84
+++ Makefile    28 Mar 2008 18:36:50 -0000
@@ -60,7 +60,8 @@ CPPFLAGS+=            -Dmacosx
 # PRs:
 #   http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=33665
 #   http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=36975
-post-patch:
+post-patch: post-patch-darwin
+post-patch-darwin: .PHONY
        ${MV} ${WRKSRC}/guile-config/guile-config.in.orig \
            ${WRKSRC}/guile-config/guile-config.in
 .endif


Home | Main Index | Thread Index | Old Index