freebsd-ports/devel/libhid/files/patch-Makefile.in
Edwin Groothuis 94824c3175 [patch] Have devel/libhid also install its python site-package
When devel/swig13 is installed, building of devel/libhid
	fails, due to my overlooking of the swig detection bits in
	the ports configure script.  However, swig is used to build
	the python site-package of the port, so I've bumped the
	portrevision and turned these bits on by default (the
	additional patch-Makefile.in hunk is to suppress a warning).

PR:		ports/116076
Submitted by:	Nikos Ntarmos <ntarmos@ceid.upatras.gr>
2007-09-12 04:07:37 +00:00

20 lines
692 B
Text

--- Makefile.in.orig 2007-07-16 13:40:13.000000000 +0300
+++ Makefile.in 2007-07-16 13:41:37.000000000 +0300
@@ -273,7 +273,7 @@
include/compiler.h \
include/os.h
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(prefix)/libdata/pkgconfig
pkgconfig_DATA = pkgconfig/libhid.pc
dist_noinst_DATA = \
debian/changelog \
@@ -293,7 +293,7 @@
README.licence
DEBIAN_VERSION = ${shell head -1 debian/changelog 2>/dev/null | sed -e '1s,.*(\([^)]*\)).*,\1,'}
-DEBIAN_ARCH = $(shell test -x `which dpkg-architecture 2>/dev/null` && dpkg-architecture -qDEB_BUILD_ARCH 2>/dev/null || echo i386)
+DEBIAN_ARCH = i386
TARBALL = $(distdir).tar.gz
DEBDIR = .debian
STAMP = $(DEBDIR)/stamp