| @@ -1,38 +1,40 @@ | | | @@ -1,38 +1,40 @@ |
1 | # $NetBSD: Makefile,v 1.24 2013/07/15 02:02:24 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.25 2014/02/08 23:39:55 wiedi Exp $ |
2 | # | | 2 | # |
3 | # Convert the version number as follows 2d2 -> 2.4.2, where the d is | | 3 | # Convert the version number as follows 2d2 -> 2.4.2, where the d is |
4 | # changed to a 4, representing the 4th letter. | | 4 | # changed to a 4, representing the 4th letter. |
5 | # Thus, 5e3 -> 5.5.3 | | 5 | # Thus, 5e3 -> 5.5.3 |
6 | # | | 6 | # |
7 | # Do not forget to update InitXXX.scm in files/buildscm.scm | | 7 | # Do not forget to update InitXXX.scm in files/buildscm.scm |
8 | | | 8 | |
9 | DISTNAME= scm5e3 | | 9 | DISTNAME= scm5e3 |
10 | PKGNAME= scm-5.5.3 | | 10 | PKGNAME= scm-5.5.3 |
11 | PKGREVISION= 2 | | 11 | PKGREVISION= 2 |
12 | CATEGORIES= lang | | 12 | CATEGORIES= lang |
13 | MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/ | | 13 | MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/ |
14 | EXTRACT_SUFX= .zip | | 14 | EXTRACT_SUFX= .zip |
15 | | | 15 | |
16 | MAINTAINER= pkgsrc-users@NetBSD.org | | 16 | MAINTAINER= pkgsrc-users@NetBSD.org |
17 | HOMEPAGE= http://www.swiss.ai.mit.edu/~jaffer/SCM | | 17 | HOMEPAGE= http://www.swiss.ai.mit.edu/~jaffer/SCM |
18 | COMMENT= Portable scheme interpreter | | 18 | COMMENT= Portable scheme interpreter |
19 | | | 19 | |
20 | DEPENDS+= slib>=3.1.1:../../devel/slib | | 20 | DEPENDS+= slib>=3.1.1:../../devel/slib |
21 | | | 21 | |
22 | WRKSRC= ${WRKDIR}/scm | | 22 | WRKSRC= ${WRKDIR}/scm |
23 | EVAL_PREFIX+= SLIB_PREFIX=slib | | 23 | EVAL_PREFIX+= SLIB_PREFIX=slib |
24 | INFO_FILES= yes | | 24 | INFO_FILES= yes |
25 | | | 25 | |
| | | 26 | LDFLAGS.SunOS+= -lsocket -lnsl |
| | | 27 | |
26 | SCM_MODULES+= sc2 ramap dynl edline gsubr ioext posix record rgx socket | | 28 | SCM_MODULES+= sc2 ramap dynl edline gsubr ioext posix record rgx socket |
27 | SCM_MODULES+= unix continue scm scmmain findexec script time repl scl eval | | 29 | SCM_MODULES+= unix continue scm scmmain findexec script time repl scl eval |
28 | SCM_MODULES+= sys subr debug unif rope unexelf | | 30 | SCM_MODULES+= sys subr debug unif rope unexelf |
29 | COMPILED_INITS+=init_edline | | 31 | COMPILED_INITS+=init_edline |
30 | | | 32 | |
31 | .include "options.mk" | | 33 | .include "options.mk" |
32 | | | 34 | |
33 | SRCS= ${SCM_MODULES:=.c} | | 35 | SRCS= ${SCM_MODULES:=.c} |
34 | OBJS= ${SCM_MODULES:=.o} | | 36 | OBJS= ${SCM_MODULES:=.o} |
35 | | | 37 | |
36 | BUILD_TARGET= scmlit libscm.a | | 38 | BUILD_TARGET= scmlit libscm.a |
37 | INSTALL_TARGET= install installlib | | 39 | INSTALL_TARGET= install installlib |
38 | | | 40 | |