Use the power of USES=pathfix instead of the file patch.
PR: ports/178610 Submitted by: jgh (thanks!)
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user