View | Details | Raw Unified | Return to bug 45855
Collapse All | Expand All

(-)lang/scm/Makefile (-6 / +6 lines)
Lines 6-24 Link Here
6
#
6
#
7
7
8
PORTNAME=	scm
8
PORTNAME=	scm
9
PORTVERSION=	5d6
9
PORTVERSION=	5d7
10
PORTREVISION=	1
11
CATEGORIES=	lang
10
CATEGORIES=	lang
12
MASTER_SITES=	http://swissnet.ai.mit.edu/ftpdir/scm/
11
MASTER_SITES=	http://swissnet.ai.mit.edu/ftpdir/scm/
13
DISTFILES=	scm5d6.zip slib2d4.zip slib-psd1-3.tar.gz
12
DISTFILES=	scm5d7.zip slib2d5.zip slib-psd1-3.tar.gz
14
EXTRACT_ONLY=	scm5d6.zip slib2d4.zip
13
EXTRACT_ONLY=	scm5d7.zip slib2d5.zip
15
14
16
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
17
16
18
WRKSRC=		${WRKDIR}/${PORTNAME}
17
WRKSRC=		${WRKDIR}/${PORTNAME}
19
18
20
USE_REINPLACE=	yes
21
USE_ZIP=	yes
19
USE_ZIP=	yes
20
USE_REINPLACE=	yes
22
USE_GMAKE=	yes
21
USE_GMAKE=	yes
23
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
22
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
24
ALL_TARGET=	scmlit
23
ALL_TARGET=	scmlit
Lines 39-45 Link Here
39
post-patch:
38
post-patch:
40
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKDIR}/require.scm
39
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKDIR}/require.scm
41
	@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \
40
	@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \
42
		 s|%%CFLAGS%%|${CFLAGS}|g' ${WRKSRC}/build.scm
41
		 s|%%CFLAGS%%|${CFLAGS}|g ; \
42
		 s|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/build.scm
43
43
44
post-build:
44
post-build:
45
	@cd ${WRKSRC} \
45
	@cd ${WRKSRC} \
(-)lang/scm/distinfo (-2 / +2 lines)
Lines 1-3 Link Here
1
MD5 (scm5d6.zip) = 0494ab4e589a58d38bac8d4453d43b75
1
MD5 (scm5d7.zip) = 27d5c4812764e4ef99d8773e28e7cfdc
2
MD5 (slib2d4.zip) = eadfd88aab550e80944d0d3d6b5603ce
2
MD5 (slib2d5.zip) = 3ce65ec613fce6389e4d185afc92460e
3
MD5 (slib-psd1-3.tar.gz) = 81f5d0b2cb4cc1bf51ad4ed3e40b6769
3
MD5 (slib-psd1-3.tar.gz) = 81f5d0b2cb4cc1bf51ad4ed3e40b6769
(-)lang/scm/files/patch-ac (-5 / +5 lines)
Lines 1-9 Link Here
1
--- build.orig	Mon Feb  7 06:05:12 2000
1
--- build.orig	Tue Nov 26 04:04:53 2002
2
+++ build	Tue Aug 15 05:17:25 2000
2
+++ build	Sat Nov 30 13:11:28 2002
3
@@ -1,5 +1,5 @@
3
@@ -1,5 +1,5 @@
4
 #!/bin/sh
4
 #! /bin/sh
5
-:;exec scmlit -f $0 -e"(bi)" build $*
5
-:;exec ./scmlit -no-init-file -f $0 -e"(bi)" build $*
6
+:;exec $SCMLIT -f $0 -e"(bi)" build $*
6
+:;exec $SCMLIT -no-init-file -f $0 -e"(bi)" build $*
7
 
7
 
8
 (require (in-vicinity (program-vicinity) "build.scm"))
8
 (require (in-vicinity (program-vicinity) "build.scm"))
9
 (require 'getopt)
9
 (require 'getopt)
(-)lang/scm/files/patch-build.scm (-64 / +27 lines)
Lines 1-78 Link Here
1
--- build.scm.orig	Fri Jan 25 10:19:37 2002
1
--- build.scm.orig	Wed Nov 27 10:44:43 2002
2
+++ build.scm	Sun Apr  7 17:20:38 2002
2
+++ build.scm	Sat Nov 30 13:16:28 2002
3
@@ -585,6 +585,7 @@
3
@@ -1438,7 +1438,7 @@
4
      (curses darwin "" "" #f () ())
5
      (regex darwin "" "" #f () ())
6
 
7
+     (c freebsd "" "" #f () ())
8
      (m freebsd "" "-lm" #f () ())
9
      (curses freebsd "" "-lncurses" "/usr/lib/libncurses.a" () ())
10
      (regex freebsd "" "-lgnuregex" "" () ())
11
@@ -1362,7 +1363,7 @@
12
   (lambda (files parms)
4
   (lambda (files parms)
13
     (and (batch:try-chopped-command
5
     (and (batch:try-chopped-command
14
 	  parms
6
 	  parms
15
-	  "cc" "-O" "-c"
7
-	  "cc" "-O3 -pipe " "-c"
16
+	  "%%CC%%" "%%CFLAGS%%" "-c"
8
+	  "%%CC%%" "%%CFLAGS%%" "-c"
17
 	  (c-includes parms)
9
 	  (c-includes parms)
18
 	  (c-flags parms)
10
 	  (c-flags parms)
19
 	  files)
11
 	  files)
20
@@ -1372,7 +1373,7 @@
12
@@ -1459,7 +1459,7 @@
21
     (batch:rename-file parms
22
 		       oname (string-append oname "~"))
23
     (and (batch:try-command parms
24
-			    "cc" "-o" oname
25
+			    "%%CC%%" "-o" oname "-export-dynamic"
26
 			    (must-be-first
27
 			     '("-nostartfiles"
28
 			       "pre-crt0.o" "crt0.o"
29
@@ -1381,29 +1382,31 @@
30
 	 oname)))
31
 (defcommand compile-dll-c-files freebsd
32
   (lambda (files parms)
13
   (lambda (files parms)
33
-    (and (batch:try-chopped-command
14
     (and (batch:try-chopped-command
34
-	  parms
15
 	  parms
35
-	  "cc" "-O" "-fpic" "-c"
16
-	  "cc" "-O3 -pipe "
36
-	  (string-append
17
+	  "%%CC%%" "%%CFLAGS%%"
37
-	   "-I" (parameter-list-ref parms 'scm-srcdir))
18
 	  "-fPIC" "-c" (c-includes parms)
38
-	  (c-includes parms)
19
 	  (c-flags parms)
39
-	  (c-flags parms)
20
 	  files)
40
-	  files)
21
@@ -1468,10 +1468,10 @@
41
-	 (let ((objs (map c->o files)))
22
 		 (lambda (fname)
42
-	   (every
23
 		   (and (batch:try-command
43
-	    (lambda (f)
24
 			 parms
44
-	      (and (batch:try-command
25
-			 "cc" "-shared"
45
-		    parms "ld" "-Bshareable" f)
26
+			 "%%CC%%" "-shared"
46
-		   (batch:try-command
27
 			 (cond
47
-		    parms "mv" "a.out" f)))
28
 			  ((equal? fname "edline") "-lreadline")
48
-	    objs)
29
-			  ((equal? fname "x") "-L/usr/X11R6/lib -lSM -lICE -lXext -lX11 -lxpg4")
49
-	   objs))))
30
+			  ((equal? fname "x") "-L%%X11BASE%%/lib -lSM -lICE -lXext -lX11")
50
-
31
 			  (else ""))
51
+    (and
32
 			 "-o"
52
+     (batch:try-chopped-command
33
 			 (string-append fname ".so")
53
+      parms
34
@@ -1485,7 +1485,7 @@
54
+      "%%CC%%" "%%CFLAGS%%"
55
+      "-fPIC" "-c" (c-includes parms)
56
+      (c-flags parms)
57
+      files)
58
+     (let* ((results
59
+	     (map
60
+	      (lambda (fname)
61
+		(and (batch:try-command
62
+		      parms
63
+		      "%%CC%%" "-shared" "-o"
64
+		      (string-append fname ".so")
65
+		      (string-append fname ".o"))
66
+		     (batch:delete-file
67
+		      parms (string-append fname ".o"))
68
+		     (string-append fname ".so")))
69
+	      (truncate-up-to (map c-> files) #\/))))
70
+       (and (apply and? results) results)))))
71
 (defcommand make-dll-archive freebsd
72
   (lambda (oname objects libs parms)
35
   (lambda (oname objects libs parms)
73
     (and (batch:try-command
36
     (and (batch:try-command
74
 	  parms
37
 	  parms
75
-	  "ld" "-Bshareable" "-o"
38
-	  "cc" "-shared" "-o"
76
+	  "%%CC%%" "-shared" "-o"
39
+	  "%%CC%%" "-shared" "-o"
77
 	  (string-append
40
 	  (string-append
78
 	   (car (parameter-list-ref parms 'implvic))
41
 	   (car (parameter-list-ref parms 'implvic))
(-)lang/scm/pkg-plist (-2 / +5 lines)
Lines 46-62 Link Here
46
lib/scm/slib/colorspc.scm
46
lib/scm/slib/colorspc.scm
47
lib/scm/slib/comlist.scm
47
lib/scm/slib/comlist.scm
48
lib/scm/slib/comparse.scm
48
lib/scm/slib/comparse.scm
49
lib/scm/slib/crc.scm
49
lib/scm/slib/cring.scm
50
lib/scm/slib/cring.scm
50
lib/scm/slib/cvs.scm
51
lib/scm/slib/cvs.scm
51
lib/scm/slib/daylight.scm
52
lib/scm/slib/daylight.scm
52
lib/scm/slib/db2html.scm
53
lib/scm/slib/db2html.scm
53
lib/scm/slib/dbcom.scm
54
lib/scm/slib/dbcom.scm
54
lib/scm/slib/dbrowse.scm
55
lib/scm/slib/dbrowse.scm
56
lib/scm/slib/dbsyn.scm
55
lib/scm/slib/dbutil.scm
57
lib/scm/slib/dbutil.scm
56
lib/scm/slib/debug.scm
58
lib/scm/slib/debug.scm
57
lib/scm/slib/defmacex.scm
59
lib/scm/slib/defmacex.scm
58
lib/scm/slib/determ.scm
60
lib/scm/slib/determ.scm
59
lib/scm/slib/differ.scm
61
lib/scm/slib/differ.scm
62
lib/scm/slib/dirs.scm
60
lib/scm/slib/dwindtst.scm
63
lib/scm/slib/dwindtst.scm
61
lib/scm/slib/dynamic.scm
64
lib/scm/slib/dynamic.scm
62
lib/scm/slib/dynwind.scm
65
lib/scm/slib/dynwind.scm
Lines 72-84 Link Here
72
lib/scm/slib/glob.scm
75
lib/scm/slib/glob.scm
73
lib/scm/slib/hash.scm
76
lib/scm/slib/hash.scm
74
lib/scm/slib/hashtab.scm
77
lib/scm/slib/hashtab.scm
78
lib/scm/slib/html4each.scm
75
lib/scm/slib/htmlform.scm
79
lib/scm/slib/htmlform.scm
76
lib/scm/slib/http-cgi.scm
80
lib/scm/slib/http-cgi.scm
77
lib/scm/slib/lineio.scm
81
lib/scm/slib/lineio.scm
78
lib/scm/slib/logical.scm
82
lib/scm/slib/logical.scm
79
lib/scm/slib/macrotst.scm
83
lib/scm/slib/macrotst.scm
80
lib/scm/slib/macwork.scm
84
lib/scm/slib/macwork.scm
81
lib/scm/slib/makcrc.scm
82
lib/scm/slib/matfile.scm
85
lib/scm/slib/matfile.scm
83
lib/scm/slib/mbe.scm
86
lib/scm/slib/mbe.scm
84
lib/scm/slib/minimize.scm
87
lib/scm/slib/minimize.scm
Lines 89-95 Link Here
89
lib/scm/slib/mwdenote.scm
92
lib/scm/slib/mwdenote.scm
90
lib/scm/slib/mwexpand.scm
93
lib/scm/slib/mwexpand.scm
91
lib/scm/slib/mwsynrul.scm
94
lib/scm/slib/mwsynrul.scm
92
lib/scm/slib/nclients.scm
93
lib/scm/slib/null.scm
95
lib/scm/slib/null.scm
94
lib/scm/slib/obj2str.scm
96
lib/scm/slib/obj2str.scm
95
lib/scm/slib/object.scm
97
lib/scm/slib/object.scm
Lines 154-159 Link Here
154
lib/scm/slib/synrul.scm
156
lib/scm/slib/synrul.scm
155
lib/scm/slib/timezone.scm
157
lib/scm/slib/timezone.scm
156
lib/scm/slib/trace.scm
158
lib/scm/slib/trace.scm
159
lib/scm/slib/transact.scm
157
lib/scm/slib/tree.scm
160
lib/scm/slib/tree.scm
158
lib/scm/slib/trnscrpt.scm
161
lib/scm/slib/trnscrpt.scm
159
lib/scm/slib/tsort.scm
162
lib/scm/slib/tsort.scm

Return to bug 45855