pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-SDL Hack it to compile on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ec3f47cb17b
branches:  trunk
changeset: 555930:0ec3f47cb17b
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Fri Mar 13 11:22:12 2009 +0000

description:
Hack it to compile on DragonFly.

diffstat:

 devel/p5-SDL/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 5dd0e0451d74 -r 0ec3f47cb17b devel/p5-SDL/Makefile
--- a/devel/p5-SDL/Makefile     Fri Mar 13 10:59:51 2009 +0000
+++ b/devel/p5-SDL/Makefile     Fri Mar 13 11:22:12 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2008/11/17 19:54:26 he Exp $
+# $NetBSD: Makefile,v 1.37 2009/03/13 11:22:12 hasso Exp $
 #
 
 DISTNAME=      SDL_Perl-2.1.2
@@ -18,6 +18,11 @@
 
 PERL5_PACKLIST=                auto/SDL/.packlist
 
+pre-configure:
+       ${CAT} ${WRKSRC}/make/lib/SDL/Build/Netbsd.pm | \
+               ${SED} 's|Netbsd|Dragonfly|g' > \
+               ${WRKSRC}/make/lib/SDL/Build/Dragonfly.pm
+
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../devel/SDL_gfx/buildlink3.mk"



Home | Main Index | Thread Index | Old Index