diff options
author | ache <ache@FreeBSD.org> | 2003-08-29 19:34:25 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2003-08-29 19:34:25 +0000 |
commit | 109977cab424a0854ebd9561f6017098f643b9e4 (patch) | |
tree | 8ac9e8e41c405fb297655c9afbb36b5b17d8d872 /news/tin | |
parent | 106ea20493724ff478b3e97723a84e90641c619e (diff) | |
download | FreeBSD-ports-109977cab424a0854ebd9561f6017098f643b9e4.zip FreeBSD-ports-109977cab424a0854ebd9561f6017098f643b9e4.tar.gz |
Add optional CANLOCK functionality
Submitted by: Thomas Seck <tmseck@netcologne.de>
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 |