diff options
author | rillig <rillig@pkgsrc.org> | 2006-07-13 18:23:14 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-07-13 18:23:14 +0000 |
commit | f3a71123e52ee68625cac096167f45baa3e3111e (patch) | |
tree | 2076af4c5ed6f49a9f11d964c876759919038167 /devel | |
parent | 1a0446f8d52cca7ca0bd15793839f0dc6496bfba (diff) | |
download | pkgsrc-f3a71123e52ee68625cac096167f45baa3e3111e.tar.gz |
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 (limited to 'devel')
-rw-r--r-- | devel/liboil/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile index 732009e1d21..2edffa4e36b 100644 --- a/devel/liboil/Makefile +++ b/devel/liboil/Makefile @@ -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 @@ PKGCONFIG_OVERRIDE+= liboil.pc.in .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" |