diff options
author | tnn <tnn> | 2009-08-08 23:32:17 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-08-08 23:32:17 +0000 |
commit | 47f3b72cc761fc455e5c22cf4eabdb1e4a4cf4b9 (patch) | |
tree | eca644f62ed0a8078a74feaffff8c44feb6d0e82 | |
parent | d4fa22731733486823defd0b01ea67c8175e8359 (diff) | |
download | pkgsrc-47f3b72cc761fc455e5c22cf4eabdb1e4a4cf4b9.tar.gz |
- fix pkglint warnings
- patch-aa: if the build fails, try to bail out gracefully instead
of entering an infinite cpu- and disk-eating loop.
-rw-r--r-- | lang/SmartEiffel/Makefile | 10 | ||||
-rw-r--r-- | lang/SmartEiffel/distinfo | 3 | ||||
-rw-r--r-- | lang/SmartEiffel/patches/patch-aa | 13 |
3 files changed, 21 insertions, 5 deletions
diff --git a/lang/SmartEiffel/Makefile b/lang/SmartEiffel/Makefile index 774fc2d345a..e09e05c7b9a 100644 --- a/lang/SmartEiffel/Makefile +++ b/lang/SmartEiffel/Makefile @@ -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 @@ HOMEPAGE= http://smarteiffel.loria.fr/ 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-patch: 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 --git a/lang/SmartEiffel/distinfo b/lang/SmartEiffel/distinfo index e8778d35c97..12ab9c05e1b 100644 --- a/lang/SmartEiffel/distinfo +++ b/lang/SmartEiffel/distinfo @@ -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 --git a/lang/SmartEiffel/patches/patch-aa b/lang/SmartEiffel/patches/patch-aa new file mode 100644 index 00000000000..037b7398a97 --- /dev/null +++ b/lang/SmartEiffel/patches/patch-aa @@ -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 |