Bug 178610 - [patch] comms/libmodbus: migrate to uses=pathfix
Summary: [patch] comms/libmodbus: migrate to uses=pathfix
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Boris Samorodov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 03:30 UTC by Jason Helfman
Modified: 2013-05-15 06:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1.11 KB, patch)
2013-05-14 03:30 UTC, Jason Helfman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Helfman freebsd_committer 2013-05-14 03:27:01 UTC
>Number:         178610
>Category:       ports
>Synopsis:       [patch] comms/libmodbus: migrate to uses=pathfix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 14 02:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r250391: Wed May 8 23:39:18 UTC 2013 peter@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64


	
>Description:
patch can be dropped in favor of USES=pathfix

https://redports.org/buildarchive/20130514021800-45605/

>How-To-Repeat:
	
>Fix:

Index: comms/libmodbus/Makefile
===================================================================
--- comms/libmodbus/Makefile	(revision 318137)
+++ comms/libmodbus/Makefile	(working copy)
@@ -14,6 +14,7 @@
 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 \
Index: comms/libmodbus/files/patch-Makefile.in
===================================================================
--- comms/libmodbus/files/patch-Makefile.in	(revision 316523)
+++ comms/libmodbus/files/patch-Makefile.in	(working copy)
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-ports-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"
Comment 1 Jason Helfman freebsd_committer 2013-05-14 03:30:01 UTC
patch can be dropped in favor of USES=pathfix

https://redports.org/buildarchive/20130514021800-45605/
Comment 2 Edwin Groothuis freebsd_committer 2013-05-14 03:30:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bsam

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 dfilter service freebsd_committer 2013-05-14 09:43:08 UTC
Author: bsam
Date: Tue May 14 08:42:56 2013
New Revision: 318145
URL: http://svnweb.freebsd.org/changeset/ports/318145

Log:
  Use the power of USES=pathfix instead of the file patch.
  
  PR:		ports/178610
  Submitted by:	jgh (thanks!)

Deleted:
  head/comms/libmodbus/files/
Modified:
  head/comms/libmodbus/Makefile

Modified: head/comms/libmodbus/Makefile
==============================================================================
--- head/comms/libmodbus/Makefile	Tue May 14 08:42:19 2013	(r318144)
+++ head/comms/libmodbus/Makefile	Tue May 14 08:42:56 2013	(r318145)
@@ -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 \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Boris Samorodov freebsd_committer 2013-05-14 09:47:06 UTC
State Changed
From-To: open->closed

Committed. Thank you! I new we should have a workaround like this...