Bug 168512 - emulators/virtio-kmod: port Makefile: post-extract target repeat to copy sys/* many times
Summary: emulators/virtio-kmod: port Makefile: post-extract target repeat to copy sys...
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: Jun Kuriyama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-01 01:30 UTC by Yasuhito FUTATSUKI
Modified: 2012-07-20 15:30 UTC (History)
0 users

See Also:


Attachments
file.diff (492 bytes, patch)
2012-06-01 01:30 UTC, Yasuhito FUTATSUKI
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhito FUTATSUKI 2012-06-01 01:30:07 UTC
When port building, extract sources, repeating to copy whole sys/* sources
number of NEEDSUBDIRS elements times.

Fix: Here is a patch against emulators/virtio-kmod/Makefile
How-To-Repeat: cd /usr/ports/emulators/virtio-kmod
make extract
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-06-01 08:58:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jun Kuriyama freebsd_committer freebsd_triage 2012-07-20 15:23:38 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-07-20 15:23:46 UTC
Author: kuriyama
Date: Fri Jul 20 14:23:37 2012
New Revision: 301226
URL: http://svn.freebsd.org/changeset/ports/301226

Log:
  - pkg-{descr,message} cosmetic changes.
  - Don't do multiple (needless) copy of sys/* sources [1]
  
  PR:		ports/168512 [1]
  Submitted by:	Yasuhito FUTATSUKI <futatuki@bsdclub.org> [1]

Modified:
  head/emulators/virtio-kmod/Makefile
  head/emulators/virtio-kmod/pkg-descr
  head/emulators/virtio-kmod/pkg-message

Modified: head/emulators/virtio-kmod/Makefile
==============================================================================
--- head/emulators/virtio-kmod/Makefile	Fri Jul 20 13:27:10 2012	(r301225)
+++ head/emulators/virtio-kmod/Makefile	Fri Jul 20 14:23:37 2012	(r301226)
@@ -7,6 +7,7 @@
 
 PORTNAME=	virtio
 PORTVERSION=	0.${SVN_REV}
+PORTREVISION=	1
 CATEGORIES=	emulators kld
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	kuriyama
@@ -41,9 +42,9 @@ SVN_REV=	228301
 
 post-extract:
 	cd ${WRKSRC} && ${MKDIR} sys/dev tmp && ${MV} dev modules tmp/
-	for d in ${NEEDSUBDIRS}; do \
-		${CP} -Rp ${SRC_BASE}/sys/${d} ${WRKSRC}/sys/${d}; \
-	done
+.for d in ${NEEDSUBDIRS}
+	${CP} -Rp ${SRC_BASE}/sys/${d} ${WRKSRC}/sys/${d}
+.endfor
 	${CP} -Rp ${WRKSRC}/tmp/* ${WRKSRC}/sys/
 
 do-build:

Modified: head/emulators/virtio-kmod/pkg-descr
==============================================================================
--- head/emulators/virtio-kmod/pkg-descr	Fri Jul 20 13:27:10 2012	(r301225)
+++ head/emulators/virtio-kmod/pkg-descr	Fri Jul 20 14:23:37 2012	(r301226)
@@ -1,5 +1,5 @@
-Port for package building of virtio kernel lodable modules.
+Port for package building of virtio kernel loadable modules.
 
-This port support only 8.2 and 9.0 releases.
+This port support only 8.[23] and 9.0 releases.
 
 WWW: http://people.FreeBSD.org/~kuriyama/virtio/

Modified: head/emulators/virtio-kmod/pkg-message
==============================================================================
--- head/emulators/virtio-kmod/pkg-message	Fri Jul 20 13:27:10 2012	(r301225)
+++ head/emulators/virtio-kmod/pkg-message	Fri Jul 20 14:23:37 2012	(r301226)
@@ -14,9 +14,11 @@ and edit fstab and interface config in r
 and enable virtio devices in host's domain.xml:
 
 -      <target dev='hda' bus='ide'/>
+-      <address type='drive' controller='0' bus='0' unit='0'/>
 +      <target dev='vda' bus='virtio'/>
++      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
 ...
 -      <model type='e1000'/>
 -      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
 +      <model type='virtio'/>
-+      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
++      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
_______________________________________________
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"