pkgsrc-Bugs archive

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

Re: pkg/40989



The patch was indeed missing, here goes:

diff -Naur makedepf90/distinfo makedepf90.new/distinfo
--- makedepf90/distinfo 2006-10-16 13:01:49.000000000 +0100
+++ makedepf90.new/distinfo     2009-04-22 15:33:49.000000000 +0100
@@ -3,3 +3,4 @@
 SHA1 (makedepf90-2.8.8.tar.gz) = bf79b561343f7dbcd740cc3d5487fe7a433197a5
 RMD160 (makedepf90-2.8.8.tar.gz) = cedac48e0291c10d6157356e40cffeee50e93d41
 Size (makedepf90-2.8.8.tar.gz) = 91473 bytes
+SHA1 (patch-aa) = 7945d1fb677c4063875d0ed933a59af095df86b3
diff -Naur makedepf90/Makefile makedepf90.new/Makefile
--- makedepf90/Makefile 2006-10-16 13:01:49.000000000 +0100
+++ makedepf90.new/Makefile     2009-03-09 11:36:37.000000000 +0000
@@ -9,6 +9,8 @@
 HOMEPAGE=              http://www.helsinki.fi/~eedelman/makedepf90/
 COMMENT=               Creates Makefile dependencies for Fortran code
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            lex yacc
 
 USE_PKGLOCALEDIR=      yes
diff -Naur makedepf90/Makefile.~1.2.~ makedepf90.new/Makefile.~1.2.~
--- makedepf90/Makefile.~1.2.~  1970-01-01 01:00:00.000000000 +0100
+++ makedepf90.new/Makefile.~1.2.~      2006-10-16 13:01:49.000000000 +0100
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/13 16:40:59 minskim Exp $
+#
+
+DISTNAME=              makedepf90-2.8.8
+CATEGORIES=            devel
+MASTER_SITES=          http://www.helsinki.fi/~eedelman/makedepf90/
+
+MAINTAINER=            emil%math.su.se@localhost
+HOMEPAGE=              http://www.helsinki.fi/~eedelman/makedepf90/
+COMMENT=               Creates Makefile dependencies for Fortran code
+
+USE_TOOLS+=            lex yacc
+
+USE_PKGLOCALEDIR=      yes
+GNU_CONFIGURE=         yes
+
+do-build:
+       cd ${WRKSRC:Q} && make
+
+
+.include "../../mk/bsd.pkg.mk"
diff -Naur makedepf90/patches/patch-aa makedepf90.new/patches/patch-aa
--- makedepf90/patches/patch-aa 1970-01-01 01:00:00.000000000 +0100
+++ makedepf90.new/patches/patch-aa     2009-04-22 15:33:41.000000000 +0100
@@ -0,0 +1,28 @@
+$NetBSD$
+
+--- Makefile.in.orig   2006-06-13 09:27:28.000000000 +0100
++++ Makefile.in
+@@ -97,15 +97,15 @@ realclean: clean
+       rm -f lexer.c find_dep.[ch] .depend configure tags config.cache 
config.log config.status 
+ 
+ install: $(PROG)  makedepf90.1
+-      $(INSTALL) -d $(bindir)
+-      $(INSTALL_PROGRAM) $(PROG) $(bindir)
+-      $(INSTALL) -d $(mandir)/man1
+-      $(INSTALL_DATA) makedepf90.1 $(mandir)/man1
++      $(INSTALL) -d $(DESTDIR)$(bindir)
++      $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)
++      $(INSTALL) -d $(DESTDIR)$(mandir)/man1
++      $(INSTALL_DATA) makedepf90.1 $(DESTDIR)$(mandir)/man1
+ install-strip: $(PROG) makedepf90.1
+-      $(INSTALL) -d $(bindir)
+-      $(INSTALL_PROGRAM) -s $(PROG) $(bindir)
+-      $(INSTALL) -d $(mandir)/man1
+-      $(INSTALL_DATA) makedepf90.1 $(mandir)/man1
++      $(INSTALL) -d $(DESTDIR)$(bindir)
++      $(INSTALL_PROGRAM) -s $(PROG) $(DESTDIR)$(bindir)
++      $(INSTALL) -d $(DESTDIR)$(mandir)/man1
++      $(INSTALL_DATA) makedepf90.1 $(DESTDIR)$(mandir)/man1
+ 
+ test: $(PROG)
+       (cd testdir/test1; bash test1.sh)


Home | Main Index | Thread Index | Old Index