pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/SmartEiffel - fix pkglint warnings
details: https://anonhg.NetBSD.org/pkgsrc/rev/fe4f4c3243a2
branches: trunk
changeset: 562966:fe4f4c3243a2
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat Aug 08 23:32:17 2009 +0000
description:
- fix pkglint warnings
- patch-aa: if the build fails, try to bail out gracefully instead
of entering an infinite cpu- and disk-eating loop.
diffstat:
lang/SmartEiffel/Makefile | 10 ++++++----
lang/SmartEiffel/distinfo | 3 ++-
lang/SmartEiffel/patches/patch-aa | 13 +++++++++++++
3 files changed, 21 insertions(+), 5 deletions(-)
diffs (65 lines):
diff -r 4e19b6b7dcce -r fe4f4c3243a2 lang/SmartEiffel/Makefile
--- a/lang/SmartEiffel/Makefile Sat Aug 08 23:20:08 2009 +0000
+++ b/lang/SmartEiffel/Makefile Sat Aug 08 23:32:17 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/05/26 22:37:30 tnn Exp $
+# $NetBSD: Makefile,v 1.7 2009/08/08 23:32:17 tnn Exp $
DISTNAME= se
PKGNAME= SmartEiffel-2.0
@@ -11,9 +11,9 @@
COMMENT= The GNU Eiffel Compiler
PKG_DESTDIR_SUPPORT= user-destdir
-NOT_FOR_BULK_PLATFORM= HPUX-*-*
WRKSRC= ${WRKDIR}/SmartEiffel
+USE_TOOLS+= pax
DIST_SUBDIR= ${PKGNAME_NOREV}
@@ -31,12 +31,14 @@
post-build:
${MV} -f ${WRKSRC}/sys/system.se ${WRKSRC}/sys/system.se.bak
- ${SED} "s:${WRKDIR}:${LOCALBASE}:g" ${WRKSRC}/sys/system.se.bak > \
+ ${SED} "s:${WRKDIR}:${PREFIX}:g" ${WRKSRC}/sys/system.se.bak > \
${WRKSRC}/sys/system.se
${RM} -f ${WRKSRC}/sys/system.se.bak
${RM} -f ${WRKSRC}/sys/system.se~
+ ${RM} -f ${WRKSRC}/Makefile.orig
do-install:
- ${CP} -r ${WRKSRC} ${DESTDIR}${PREFIX}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/SmartEiffel
+ cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/SmartEiffel
.include "../../mk/bsd.pkg.mk"
diff -r 4e19b6b7dcce -r fe4f4c3243a2 lang/SmartEiffel/distinfo
--- a/lang/SmartEiffel/distinfo Sat Aug 08 23:20:08 2009 +0000
+++ b/lang/SmartEiffel/distinfo Sat Aug 08 23:32:17 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 09:03:05 agc Exp $
+$NetBSD: distinfo,v 1.3 2009/08/08 23:32:17 tnn Exp $
SHA1 (SmartEiffel-2.0/se.tar.bz2) = 343747fc62460b43d5a00d58fab12c4f1542fb10
RMD160 (SmartEiffel-2.0/se.tar.bz2) = 7429864c1f72ffdda8cc6b56e904c446e1303a8e
Size (SmartEiffel-2.0/se.tar.bz2) = 4136823 bytes
+SHA1 (patch-aa) = 7133eec761eb939a97f6a028d407944d74573555
diff -r 4e19b6b7dcce -r fe4f4c3243a2 lang/SmartEiffel/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/SmartEiffel/patches/patch-aa Sat Aug 08 23:32:17 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2009/08/08 23:32:17 tnn Exp $
+
+--- Makefile.orig 2004-09-27 18:50:36.000000000 +0200
++++ Makefile
+@@ -34,7 +34,7 @@
+
+ all: ./install/germ/compile_to_c.h install.c
+ gcc -o se_install install.c
+- (echo ''; echo '4'; echo '5'; echo ''; echo '6') | ./se_install
++ (echo ''; echo '4'; echo '5'; echo ''; echo '6'; echo y; echo y) | ./se_install
+ \rm -f ./se_install
+
+ interactive: ./install/germ/compile_to_c.h install.c
Home |
Main Index |
Thread Index |
Old Index