aboutsummaryrefslogtreecommitdiffstats
path: root/news/tin
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-07-28 21:52:14 +0800
committervs <vs@FreeBSD.org>2005-07-28 21:52:14 +0800
commit7e36ebd67a5d8954b7e4c7519e0b772add8203e7 (patch)
tree590de9c8bdad48477adf1c10331cc408dc80e34c /news/tin
parent3cf8e17b1c50504fabdd6f9d670b0ffe39f940a8 (diff)
downloadfreebsd-ports-gnome-7e36ebd67a5d8954b7e4c7519e0b772add8203e7.tar.gz
freebsd-ports-gnome-7e36ebd67a5d8954b7e4c7519e0b772add8203e7.tar.zst
freebsd-ports-gnome-7e36ebd67a5d8954b7e4c7519e0b772add8203e7.zip
Fix build when WITH_TIN_CANLOCK is defined
PR: ports/79400 Submitted by: trasz AT buziaczek DOT pl Approved by: maintainer timeout
Diffstat (limited to 'news/tin')
-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