diff options
Diffstat (limited to 'news/tin')
-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 2d5c8e1..bf224d5 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 0000000..289aca6 --- /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 |