Use the power of USES=pathfix instead of the file patch.

PR:		ports/178610
Submitted by:	jgh (thanks!)
This commit is contained in:
Boris Samorodov
2013-05-14 08:42:56 +00:00
parent c8d5dd0cf9
commit 7c523fff5e
2 changed files with 1 additions and 11 deletions

View File

@@ -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 \

View File

@@ -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