reduce diff against previous version to only fixing #858769
[alioth/cvs.git] / Makefile.bsd-wrapper
1 # $MirOS: src/gnu/usr.bin/cvs/Makefile.bsd-wrapper,v 1.36 2016/11/09 03:04:12 tg Exp $
2 # $OpenBSD: Makefile.bsd-wrapper,v 1.44 2004/01/02 09:01:24 millert Exp $
3
4 # MirOS patchlevel tracked in configure{.in,}
5
6 MAN=            doc/cvs.1 man/cvs.5
7 INST_TARGET=    INSTALL_MAN= install
8
9 CFARGS+=        --prefix=/usr \
10                 --mandir=/usr/share/man \
11                 --datadir=/usr/libexec \
12                 --infodir=/usr/share/info \
13                 --disable-maintainer-mode \
14                 --disable-dependency-tracking \
15                 --enable-cvs-ndbm \
16                 --enable-client \
17                 --enable-password-authenticated-client \
18                 --enable-server \
19                 --enable-proxy \
20                 --disable-pam \
21                 --enable-case-sensitivity \
22                 --disable-encryption \
23                 --disable-lock-compatibility \
24                 --enable-rootcommit \
25                 --disable-old-info-format-support \
26                 --enable-config-override=no \
27                 --with-external-zlib \
28                 --with-rsh=/usr/bin/ssh \
29                 --with-editor=/bin/ed \
30                 --with-tmpdir=/var/tmp \
31                 --with-umask=002 \
32                 --with-cvs-admin-group=_cvsadmin
33 # hardcoded paths
34 CFVARS+=        ac_cv_path_CSH=/usr/mpkg/bin/csh
35 CFVARS+=        ac_cv_path_PS2PDF=false
36 XARGS+=         ZLIB_LIBS=-lz
37
38 .include <bsd.own.mk>
39 COPTS+=         -Wall -Wno-unused
40 FSFISLIB=       No
41
42 .if make(install)
43 SUBDIR+=        doc/paper
44 .endif
45
46 .if ${.OBJDIR} != ${.CURDIR}
47 CLEANFILES+=    lib/getdate.c lib/getdate.h
48 .endif
49
50 post-install:
51         ${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
52             ${.CURDIR}/doc/RCSFILES ${DESTDIR}/usr/share/misc/
53         ${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
54             ${.CURDIR}/contrib/{rcs2log.1,sandbox_status.man} \
55             ${DESTDIR}/usr/libexec/cvs/contrib/
56
57 regress:
58         chmod +x ${.CURDIR}/lib/test-getdate.sh
59         cd ${FSFOBJDIR} && exec env \
60             GETDATE_LD_PRELOAD=/usr/lib/libposixtz.so ${FSFMAKE} check
61         -chmod -x ${.CURDIR}/lib/test-getdate.sh
62
63 .include <bsd.cfwrap.mk>