diff options
author | rillig <rillig> | 2006-07-13 18:23:14 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-07-13 18:23:14 +0000 |
commit | c58947bc70f166aa6536880a4a6110dd6c11a0f6 (patch) | |
tree | 2076af4c5ed6f49a9f11d964c876759919038167 /devel | |
parent | 04bbf421b0fa002bf8ae0602e146cfdf95881be4 (diff) | |
download | pkgsrc-c58947bc70f166aa6536880a4a6110dd6c11a0f6.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" |