2006-05-23 00:22:02 +02:00
|
|
|
# $NetBSD: openwin.mk,v 1.4 2006/05/22 22:22:04 jlam Exp $
|
2003-09-02 09:14:39 +02:00
|
|
|
|
|
|
|
FILES_LIST= ${FILESDIR}/openwin
|
2004-11-11 18:44:39 +01:00
|
|
|
|
|
|
|
# Fix bugs in older versions of openwin headers
|
|
|
|
STDC_REPLACE= -e 's/^\#if (__STDC__/\#if (defined(__STDC__)/'
|
|
|
|
STDC_REPLACE+= -e 's/^\#if ((__STDC__/\#if ((defined(__STDC__)/'
|
|
|
|
|
|
|
|
CREATE_X11LINK= case $$file in \
|
|
|
|
include/X11/Xlibint.h) \
|
|
|
|
${SED} ${STDC_REPLACE} < $$src > $$dest; \
|
|
|
|
;; \
|
|
|
|
include/X11/Xmd.h) \
|
|
|
|
${SED} ${STDC_REPLACE} < $$src > $$dest; \
|
|
|
|
;; \
|
|
|
|
include/X11/extensions/multibufst.h) \
|
|
|
|
${SED} ${STDC_REPLACE} < $$src > $$dest; \
|
|
|
|
;; \
|
|
|
|
*) \
|
|
|
|
${LN} -s $$src $$dest; \
|
|
|
|
esac
|
2005-02-20 08:48:48 +01:00
|
|
|
|
|
|
|
# disable checking of shared library dependencies, as openwin/dt can
|
|
|
|
# have some libraries missing in a "normal" installation and this
|
|
|
|
# shouldn't break the package.
|
2006-05-23 00:22:02 +02:00
|
|
|
#
|
|
|
|
CHECK_SHLIBS_SUPPORTED= no
|