aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-05-14 16:42:56 +0800
committerbsam <bsam@FreeBSD.org>2013-05-14 16:42:56 +0800
commit1f1db58b07cc38fcccb48fd4fb28355d044bd384 (patch)
tree822d87437f7e30ffd600d5ec99affb60b50fa4f2 /comms
parent460466389a7f71df832db673613860b4c7d3e7dd (diff)
downloadfreebsd-ports-graphics-1f1db58b07cc38fcccb48fd4fb28355d044bd384.tar.gz
freebsd-ports-graphics-1f1db58b07cc38fcccb48fd4fb28355d044bd384.tar.zst
freebsd-ports-graphics-1f1db58b07cc38fcccb48fd4fb28355d044bd384.zip
Use the power of USES=pathfix instead of the file patch.
PR: ports/178610 Submitted by: jgh (thanks!)
Diffstat (limited to 'comms')
-rw-r--r--comms/libmodbus/Makefile1
-rw-r--r--comms/libmodbus/files/patch-Makefile.in11
2 files changed, 1 insertions, 11 deletions
diff --git a/comms/libmodbus/Makefile b/comms/libmodbus/Makefile
index 6039c00ebef..6d0ac0bf7e5 100644
--- a/comms/libmodbus/Makefile
+++ b/comms/libmodbus/Makefile
@@ -14,6 +14,7 @@ GH_ACCOUNT= stephane
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+USES= pathfix
PLIST_FILES= include/modbus/modbus-rtu.h include/modbus/modbus-tcp.h \
include/modbus/modbus-version.h include/modbus/modbus.h \
diff --git a/comms/libmodbus/files/patch-Makefile.in b/comms/libmodbus/files/patch-Makefile.in
deleted file mode 100644
index 2113cd89ef0..00000000000
--- a/comms/libmodbus/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig 2013-05-14 00:10:34.000000000 +0400
-+++ Makefile.in 2013-05-14 00:11:07.000000000 +0400
-@@ -272,7 +272,7 @@ top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- EXTRA_DIST = MIGRATION README.rst libmodbus.spec
- SUBDIRS = src doc tests
--pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfigdir = $(prefix)/libdata/pkgconfig
- pkgconfig_DATA = libmodbus.pc
- all: config.h
- $(MAKE) $(AM_MAKEFLAGS) all-recursive