aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-07-28 13:52:14 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-07-28 13:52:14 +0000
commite0de789fb87700ea17236c06be81607ab311a0a2 (patch)
treef194ad53163b6838c4f25ac3893f4ef6cb6c6ff0 /news
parente2ceae20bbe2506c3ec9590fdca6ee3a8fa83d78 (diff)
downloadports-e0de789fb87700ea17236c06be81607ab311a0a2.tar.gz
ports-e0de789fb87700ea17236c06be81607ab311a0a2.zip
Fix build when WITH_TIN_CANLOCK is defined
PR: ports/79400 Submitted by: trasz AT buziaczek DOT pl Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=140319
Diffstat (limited to 'news')
-rw-r--r--news/tin/Makefile3
-rw-r--r--news/tin/files/canlock.patch8
2 files changed, 2 insertions, 9 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index 1c33abb97bbc..ed3cd732147c 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -98,7 +98,8 @@ post-patch:
<${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
+MAKE_ARGS+= CANLIB='-L../libcanlock -lcanlock' \
+ CANLOCK=-DUSE_CANLOCK
.endif
pre-build:
diff --git a/news/tin/files/canlock.patch b/news/tin/files/canlock.patch
deleted file mode 100644
index 289aca60b248..000000000000
--- a/news/tin/files/canlock.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-55c55
-< CANLOCK = # -DUSE_CANLOCK # -DEVIL_INSIDE
----
-> CANLOCK = -DUSE_CANLOCK # -DEVIL_INSIDE
-67c67
-< CANLIB = # -L../libcanlock -lcanlock
----
-> CANLIB = -L../libcanlock -lcanlock