1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/www/tclhttpd/scripts/pre-build

19 lines
417 B
Plaintext
Raw Normal View History

#!/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