pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/clisp Don't do tricks to add modules to the Makef...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d3177677622
branches:  trunk
changeset: 498716:8d3177677622
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Aug 31 12:12:32 2005 +0000

description:
Don't do tricks to add modules to the Makefile; there are command line
options to do it. From PR misc/31094 by Sam Steingold, as far as
applicable to 2.33.2.

diffstat:

 lang/clisp/Makefile |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (34 lines):

diff -r 0e3a1319817c -r 8d3177677622 lang/clisp/Makefile
--- a/lang/clisp/Makefile       Wed Aug 31 09:44:56 2005 +0000
+++ b/lang/clisp/Makefile       Wed Aug 31 12:12:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2005/08/03 20:46:16 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2005/08/31 12:12:32 drochner Exp $
 
 DISTNAME=              clisp-2.33.2
 PKGREVISION=           1
@@ -22,6 +22,8 @@
 UNLIMIT_RESOURCES=     stacksize
 USE_LIBTOOL=           YES
 USE_GNU_READLINE=      YES
+MODULES=               --with-module=syscalls --with-module=regexp
+MODULES+=              --with-module=pcre --with-module=wildcard
 
 post-patch:
        ${CP} files/tramp-rs6000-netbsd.o ${WRKSRC}/../ffcall/callback/trampoline_r
@@ -32,13 +34,9 @@
        cd ${WRKSRC} && \
        (cd .. ; ${SETENV} ${CONFIGURE_ENV} \
                ${CONFIGURE_SCRIPT} --host=${MACHINE_GNU_PLATFORM} \
-                       --prefix=${PREFIX}) && \
+                       --prefix=${PREFIX} ${MODULES}) && \
        ./makemake --prefix=${PREFIX} --with-readline --with-gettext \
-               --with-dynamic-ffi --fsstnd=netbsd >Makefile && \
-       ${MV} Makefile Makefile.patch && \
-       ${SED} -e 's/MODULES =/MODULES = syscalls regexp pcre wildcard/g' \
-               < Makefile.patch > Makefile && \
-       ${RM} Makefile.patch
+               --with-dynamic-ffi --fsstnd=netbsd ${MODULES} >Makefile
 
 pre-build:
        cd ${WRKSRC}/avcall && ${MAKE}



Home | Main Index | Thread Index | Old Index