pkgsrc-Bugs archive

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

Re: pkg/44628



The following reply was made to PR pkg/44628; it has been noted by GNATS.

From: cheusov%tut.by@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/44628
Date: Sat, 03 Dec 2011 21:59:32 +0300

 tinyscheme was updated to 0.40 but still fails to build on Linux.
 Patch that solves the problem is below. It was tested on NetBSD current and
 Linux.  Opinions?
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/lang/tinyscheme/Makefile,v
 retrieving revision 1.14
 diff -u -r1.14 Makefile
 --- Makefile   2 May 2011 11:35:18 -0000       1.14
 +++ Makefile   3 Dec 2011 18:53:34 -0000
 @@ -17,4 +17,9 @@
  
  INSTALLATION_DIRS=    bin include lib share/tinyscheme
  
 +MAKE_FLAGS+=          SYS_LIBS=-lm\ ${BUILDLINK_LDADD.dl:Q}
 +MAKE_FLAGS+=          CC=${CC:Q} LDFLAGS=${LDFLAGS:Q} DEBUG=
 +MAKE_FLAGS+=          LD=${CC:Q}
 +
 +.include "../../mk/dlopen.buildlink3.mk"
  .include "../../mk/bsd.pkg.mk"
 Index: distinfo
 ===================================================================
 RCS file: /cvsroot/pkgsrc/lang/tinyscheme/distinfo,v
 retrieving revision 1.11
 diff -u -r1.11 distinfo
 --- distinfo   16 Apr 2011 16:10:59 -0000      1.11
 +++ distinfo   3 Dec 2011 18:53:34 -0000
 @@ -3,4 +3,4 @@
  SHA1 (tinyscheme-1.40.tar.gz) = e03f7ac41f0517bb35eced2772c79eb9db42ea82
  RMD160 (tinyscheme-1.40.tar.gz) = 1eac087a90c2c2e8ca5f4cefbc5660b96491e4b3
  Size (tinyscheme-1.40.tar.gz) = 60160 bytes
 -SHA1 (patch-aa) = 47462044ec20f3c4f9cc551e22e69007c4bf85d8
 +SHA1 (patch-aa) = 0851a17a9c1c8fd0f3dae40209a49e1574296d78
 Index: patches/patch-aa
 ===================================================================
 RCS file: /cvsroot/pkgsrc/lang/tinyscheme/patches/patch-aa,v
 retrieving revision 1.8
 diff -u -r1.8 patch-aa
 --- patches/patch-aa   16 Apr 2011 16:10:59 -0000      1.8
 +++ patches/patch-aa   3 Dec 2011 18:53:34 -0000
 @@ -2,30 +2,6 @@
  
  --- makefile.orig     2011-01-16 10:51:17.000000000 +0300
  +++ makefile  2011-03-30 20:38:01.000000000 +0400
 -@@ -18,7 +18,7 @@
 - #AR= echo
 - 
 - # Unix, generally
 --CC = gcc -fpic
 -+#CC = gcc -fpic
 - DEBUG=-g -Wall -Wno-char-subscripts -O
 - Osuf=o
 - SOsuf=so
 -@@ -28,12 +28,13 @@
 - OUT = -o $@
 - RM= -rm -f
 - AR= ar crs
 -+SYS_LIBS= -lm
 - 
 - # Linux
 - LD = gcc
 - LDFLAGS = -shared
 - DEBUG=-g -Wno-char-subscripts -O
 --SYS_LIBS= -ldl
 -+#SYS_LIBS= -ldl
 - PLATFORM_FEATURES= -DSUN_DL=1
 - 
 - # Cygwin
  @@ -57,19 +58,23 @@
   LIBTARGET = $(LIBPREFIX)tinyscheme.$(SOsuf)
   STATICLIBTARGET = $(LIBPREFIX)tinyscheme.$(LIBsuf)
 


Home | Main Index | Thread Index | Old Index