pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/liboil The better way to fix the Solaris problem...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a4e30db681e6
branches: trunk
changeset: 516078:a4e30db681e6
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Jul 13 18:23:14 2006 +0000
description:
The better way to fix the Solaris problem of <stdint.h> is to replace
the header name in the installed headers. Otherwise the packages that
depend on this one have to use the same hack as in the previous revision
of this file.
diffstat:
devel/liboil/Makefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 61682d23860b -r a4e30db681e6 devel/liboil/Makefile
--- a/devel/liboil/Makefile Thu Jul 13 17:59:37 2006 +0000
+++ b/devel/liboil/Makefile Thu Jul 13 18:23:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/07/13 17:04:51 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2006/07/13 18:23:14 rillig Exp $
#
DISTNAME= liboil-0.3.6
@@ -21,8 +21,11 @@
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MSunOS-5.8-*)
-pre-configure:
- ${ECHO} "#include <inttypes.h>" > ${BUILDLINK_DIR}/include/stdint.h
+SUBST_CLASSES+= solaris
+SUBST_STAGE.solaris= pre-configure
+SUBST_MESSAGES.solaris= Replacing <stdint.h> with <inttypes.h>
+SUBST_FILES.solaris= liboil/*.h
+SUBST_SED.solaris= -e 's,<stdint\.h>,<inttypes.h>,'
.endif
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index