diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2003-08-29 19:34:25 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2003-08-29 19:34:25 +0000 |
commit | 99ef5b4fc3997726fb4cab65c4445a48d3d98679 (patch) | |
tree | a34d5d3361a230cc2ef223e9765c9c9664eddde4 /news | |
parent | 617878070ab7b35edbdddc8306d489dcf18e5022 (diff) |
Notes
Diffstat (limited to 'news')
-rw-r--r-- | news/tin/Makefile | 9 | ||||
-rw-r--r-- | news/tin/files/canlock.patch | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile index 2d5c8e1cd954..bf224d5f8c4c 100644 --- a/news/tin/Makefile +++ b/news/tin/Makefile @@ -95,9 +95,18 @@ post-patch: -e 's:/usr/lib/news:${PREFIX}/news/lib:' \ <${WRKSRC}/doc/tin.1.dist >${WRKSRC}/doc/tin.1 +.if defined(WITH_TIN_CANLOCK) + ${PATCH} ${PATCH_ARGS} ${WRKSRC}/src/Makefile.in -i ${FILESDIR}/canlock.patch +.endif + pre-configure: ${CP} ${FILESDIR}/pcre.h ${WRKSRC}/pcre +pre-build: +.if defined(WITH_TIN_CANLOCK) + cd ${WRKSRC}/src; ${GMAKE} canlock +.endif + post-build: cd ${WRKSRC}/po; ${GMAKE} diff --git a/news/tin/files/canlock.patch b/news/tin/files/canlock.patch new file mode 100644 index 000000000000..289aca60b248 --- /dev/null +++ b/news/tin/files/canlock.patch @@ -0,0 +1,8 @@ +55c55 +< CANLOCK = # -DUSE_CANLOCK # -DEVIL_INSIDE +--- +> CANLOCK = -DUSE_CANLOCK # -DEVIL_INSIDE +67c67 +< CANLIB = # -L../libcanlock -lcanlock +--- +> CANLIB = -L../libcanlock -lcanlock |