diff options
author | agc <agc@pkgsrc.org> | 2003-02-01 10:09:36 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2003-02-01 10:09:36 +0000 |
commit | e90a139b719dadcd38d17b6d2adcab7c9cb1b5a4 (patch) | |
tree | 53b0e200738bf779a472759929b8394956cdf792 /chat/tirc | |
parent | 82dc26b0b3a64c24571e77bec6927e71b5b8655f (diff) | |
download | pkgsrc-e90a139b719dadcd38d17b6d2adcab7c9cb1b5a4.tar.gz |
If there's a system header <sys/queue.h>, don't use the one that's bundled
with the tirc package, since it is unlikely to work in most cases - use the
system one instead.
Diffstat (limited to 'chat/tirc')
-rw-r--r-- | chat/tirc/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chat/tirc/Makefile b/chat/tirc/Makefile index 76c3af3a147..d7ab179c06f 100644 --- a/chat/tirc/Makefile +++ b/chat/tirc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/10/25 17:20:08 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2003/02/01 10:09:36 agc Exp $ # DISTNAME= tirc-1.2 @@ -21,6 +21,9 @@ post-patch: ${SED} "s,/usr/local/share/tircrc,${PREFIX}/share/tirc/tircrc,g"\ ${WRKSRC}/main.c > ${WRKSRC}/main.c.done ${MV} ${WRKSRC}/main.c.done ${WRKSRC}/main.c +.if exists(/usr/include/sys/queue.h) + ${RM} ${WRKSRC}/sys/queue.h +.endif post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/tirc |