pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/irssi-xmpp Fix build on SunOS. Based on a patch ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/07cc479ffed9
branches: trunk
changeset: 632325:07cc479ffed9
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Mar 24 17:44:47 2014 +0000
description:
Fix build on SunOS. Based on a patch by MAINTAINER.
diffstat:
chat/irssi-xmpp/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 9f7710fe80de -r 07cc479ffed9 chat/irssi-xmpp/Makefile
--- a/chat/irssi-xmpp/Makefile Mon Mar 24 15:29:54 2014 +0000
+++ b/chat/irssi-xmpp/Makefile Mon Mar 24 17:44:47 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2012/10/03 00:02:38 asau Exp $
+# $NetBSD: Makefile,v 1.4 2014/03/24 17:44:47 jperkin Exp $
#
DISTNAME= irssi-xmpp-0.52
@@ -29,6 +29,15 @@
SUBST_FILES.makefile= Makefile
SUBST_SED.makefile+= -e '/docs/s/install/install -m 644/'
+SUBST_CLASSES+= configmk
+SUBST_STAGE.configmk= pre-build
+SUBST_MESSAGE.configmk= Fixing CFLAGS and LDFLAGS to be user-settable.
+SUBST_FILES.configmk= config.mk
+SUBST_SED.configmk+= -e 's/^CFLAGS =/CFLAGS +=/'
+SUBST_SED.configmk+= -e 's/^LDFLAGS =/LDFLAGS +=/'
+
+CFLAGS.SunOS+= -D__BEGIN_DECLS= -D__END_DECLS=
+
post-extract:
${MV} ${WRKDIR}/${DISTNAME} ${WRKDIR}/${IRSSI_DISTNAME}
${CP} ${IRSSI_CONFIG_H} ${WRKSRC}/src/config.h
Home |
Main Index |
Thread Index |
Old Index