diff options
author | wiz <wiz@pkgsrc.org> | 2003-05-02 13:18:53 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-05-02 13:18:53 +0000 |
commit | 63e43cdb9f85e4f6ceab0d5fe3113a323313fc4d (patch) | |
tree | 4ad9ddcfd21c9cb89f54295d31359108666d3ad4 /devel | |
parent | 01994c6c3b0abf831dbb0f11ffa3a4c50a120852 (diff) | |
download | pkgsrc-63e43cdb9f85e4f6ceab0d5fe3113a323313fc4d.tar.gz |
Remove workaround for broken glib.h; buildlink2.mk already depends on a fixed version.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glib/buildlink2.mk | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/devel/glib/buildlink2.mk b/devel/glib/buildlink2.mk index d983e446611..69d9d0ab63d 100644 --- a/devel/glib/buildlink2.mk +++ b/devel/glib/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.5 2003/05/02 11:54:27 wiz Exp $ +# $NetBSD: buildlink2.mk,v 1.6 2003/05/02 13:18:53 wiz Exp $ .if !defined(GLIB_BUILDLINK2_MK) GLIB_BUILDLINK2_MK= # defined @@ -21,22 +21,7 @@ PTHREAD_OPTS+= require .include "../../mk/pthread.buildlink2.mk" BUILDLINK_TARGETS+= glib-buildlink -BUILDLINK_TARGETS+= glib-fix-glib-h glib-buildlink: _BUILDLINK_USE -glib-fix-glib-h: -.if exists(/usr/include/sys/null.h) - @cd ${BUILDLINK_DIR}/include/glib/glib-1.2; \ - if ${GREP} "^\#define.NULL" glib.h > /dev/null; then \ - ${ECHO} WARNING\!; \ - ${ECHO} The installed glib package is broken, please rebuild it from source.;\ - ${ECHO} For more information, see PR 14150.; \ - ${SED} -e "s|^#define.NULL.*|#include <sys/null.h>|" \ - glib.h > glib.h.fixed; \ - ${RM} glib.h; \ - ${MV} glib.h.fixed glib.h; \ - fi -.endif - .endif # GLIB_BUILDLINK2_MK |