From 0aabef127155575e8c8d660605f9401ab15356aa Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Thu, 24 Feb 2011 17:41:36 +0100
Subject: allow native build of a lot of packages

STAGING_TARGET_DIR is used for package Makefile's for
include and library search path's. STAGING_DIR is used
for common code in mk/ or Makefile/rules.mk.
STAGING_TARGET_DIR is /usr when native builds are used.
---
 package/fixesproto/Makefile | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'package/fixesproto')

diff --git a/package/fixesproto/Makefile b/package/fixesproto/Makefile
index b3a9185d6..eff63024c 100644
--- a/package/fixesproto/Makefile
+++ b/package/fixesproto/Makefile
@@ -18,5 +18,8 @@ $(eval $(call PKG_template,FIXESPROTO,fixesproto,$(PKG_VERSION)-${PKG_RELEASE},$
 post-install:
 	${INSTALL_DIR} ${IDIR_FIXESPROTO}/usr/include
 	${CP} ${WRKINST}/usr/include/X11 ${IDIR_FIXESPROTO}/usr/include
+	${INSTALL_DIR} ${IDIR_FIXESPROTO}/usr/lib/pkgconfig
+	${CP} ${WRKINST}/usr/lib/pkgconfig/fixesproto.pc \
+		${IDIR_FIXESPROTO}/usr/lib/pkgconfig
 
 include ${TOPDIR}/mk/pkg-bottom.mk
-- 
cgit v1.2.3