1 # $NetBSD: openwin.mk,v 1.3 2005/02/20 07:48:48 grant Exp $
3 FILES_LIST
= ${FILESDIR}/openwin
5 # Fix bugs in older versions of openwin headers
6 STDC_REPLACE
= -e
's/^\#if (__STDC__/\#if (defined(__STDC__)/'
7 STDC_REPLACE
+= -e
's/^\#if ((__STDC__/\#if ((defined(__STDC__)/'
9 CREATE_X11LINK
= case
$$file in \
10 include/X11
/Xlibint.h
) \
11 ${SED} ${STDC_REPLACE} < $$src > $$dest; \
14 ${SED} ${STDC_REPLACE} < $$src > $$dest; \
16 include/X11
/extensions
/multibufst.h
) \
17 ${SED} ${STDC_REPLACE} < $$src > $$dest; \
20 ${LN} -s
$$src $$dest; \
23 # disable checking of shared library dependencies, as openwin/dt can
24 # have some libraries missing in a "normal" installation and this
25 # shouldn't break the package.
27 CHECK_SHLIBS_SUPPORTED
= no