Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / pkgtools / x11-links / openwin.mk
blob82374da1c82d4fa920d5067aafc6fcd464e10680
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; \
12 ;; \
13 include/X11/Xmd.h) \
14 ${SED} ${STDC_REPLACE} < $$src > $$dest; \
15 ;; \
16 include/X11/extensions/multibufst.h) \
17 ${SED} ${STDC_REPLACE} < $$src > $$dest; \
18 ;; \
19 *) \
20 ${LN} -s $$src $$dest; \
21 esac
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