public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-libs/linux-gpib/files: linux-gpib-3.2.15-build.patch
@ 2011-01-31 22:29 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; only message in thread
From: Andreas HAttel (dilfridge) @ 2011-01-31 22:29 UTC (permalink / raw
  To: gentoo-commits

dilfridge    11/01/31 22:29:39

  Added:                linux-gpib-3.2.15-build.patch
  Log:
  New package, fixes bug 165399. Thanks to antonmx and Ben Schwartz for their work. Initially
  pmasked since the ebuild still needs a lot of QA cleanup (especially concerning the language
  bindings) and requires exotic hardware for testing.
  
  (Portage version: 2.1.9.35/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-libs/linux-gpib/files/linux-gpib-3.2.15-build.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/linux-gpib/files/linux-gpib-3.2.15-build.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/linux-gpib/files/linux-gpib-3.2.15-build.patch?rev=1.1&content-type=text/plain

Index: linux-gpib-3.2.15-build.patch
===================================================================
diff -ruN linux-gpib-3.2.15-0-orig/drivers/Makefile.am linux-gpib-3.2.15/drivers/Makefile.am
--- linux-gpib-3.2.15-0-orig/drivers/Makefile.am	2007-04-19 17:21:04.000000000 +0200
+++ linux-gpib-3.2.15/drivers/Makefile.am	2011-01-24 23:20:59.000000000 +0100
@@ -27,39 +27,13 @@
 		CC="$(LINUX_CC) -I@abs_top_srcdir@ -I@abs_top_srcdir@/drivers/gpib/include -I@abs_top_srcdir@/include" \
 		SUBDIRS="$(GPIB_ABS_MODULE_SUBDIR)"
 
-install-data-hook: device-file-check /etc/gpib.conf
+install-data-hook: /etc/gpib.conf
 	$(MAKE) -C $(LINUX_SRCDIR) V=1 modules_install\
 		CC="$(LINUX_CC) -I@abs_top_srcdir@ -I@abs_top_srcdir@/driver/include -I@abs_top_srcdir@/include" \
 		SUBDIRS="$(GPIB_ABS_MODULE_SUBDIR)" INSTALL_MOD_DIR="gpib"
-	$(DEPMOD) -ae
-
-/dev/gpib0:
-	groupadd gpib || echo "group gpib exists"
-	for i in `seq 0 15`; \
-	do \
-		mknod -m u=rw,g=rw,o= /dev/gpib$${i} c $(IBMAJOR) $${i} || exit 1; \
-		chown root:gpib /dev/gpib$${i}; \
-	done
-
-.PHONY : device-file-check
-device-file-check: /dev/gpib0
-	@if [ ! -c /dev/gpib0 ]; then \
-		if [ -a /dev/gpib0 ]; then \
-			echo "A file or directory called /dev/gpib0 exists but it is not" \
-				"a character device.  Delete or move it and try again."; \
-			exit 1; \
-		fi; \
-	fi
-	@ls -l /dev/gpib0 | grep -q "$(IBMAJOR)"; \
-	if [ $$? != 0 ]; then \
-		echo "/dev/gpib0 has the wrong major number. " \
-			"Delete your /dev/gpibX files and try again."; \
-		exit 1; \
-	fi
 
 #should move this to util/templates Makefile.am when it exists
 /etc/gpib.conf:
-	$(INSTALL_DATA) -D $(top_srcdir)/util/templates/gpib.conf /etc/gpib.conf
 
 #make sure compiled files, etc don't make it into distribution tarballs
 dist-hook:






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-31 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-31 22:29 [gentoo-commits] gentoo-x86 commit in sci-libs/linux-gpib/files: linux-gpib-3.2.15-build.patch Andreas HAttel (dilfridge)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox