mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
57dc407478
PR: ports/19870 Submitted by: Mikhail Teterin <mi@privatelabs.com>
19 lines
417 B
Bash
19 lines
417 B
Bash
#!/bin/sh
|
|
|
|
crypt_SRCS="crypt.c cryptLib.c"
|
|
setuid_SRCS=setuid.c
|
|
limit_SRCS=limit.c
|
|
|
|
cd ${WRKSRC}/src
|
|
|
|
for l in crypt setuid limit
|
|
do
|
|
make INTERNALLIB=Y NOPROFILE=Y \
|
|
LIB=${l} SHLIB_MAJOR=1 SHLIB_MINOR=0 \
|
|
SRCS="`eval echo \\$${l}_SRCS`" -ECFLAGS \
|
|
CFLAGS="${CFLAGS} -I${PREFIX}/include/tcl${TCL_DVER} -DUSE_TCL_STUBS" \
|
|
LDADD="-L${PREFIX}/lib -ltclstub${TCL_VER} -lcrypt" \
|
|
-f bsd.lib.mk \
|
|
|| exit 1
|
|
done
|