pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/libxfce4util make libxfce4util compile with SGI ID...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81d0f77a9b0c
branches:  trunk
changeset: 508400:81d0f77a9b0c
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sat Feb 18 20:43:00 2006 +0000

description:
make libxfce4util compile with SGI IDO compiler used with IRIX5

diffstat:

 x11/libxfce4util/hacks.mk |  17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r 4c4a9cb576a4 -r 81d0f77a9b0c x11/libxfce4util/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libxfce4util/hacks.mk Sat Feb 18 20:43:00 2006 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: hacks.mk,v 1.1 2006/02/18 20:43:00 schwarz Exp $
+
+.if !defined(LIBXFCE4UTIL_HACKS_MK)
+LIBXFCE4UTIL_HACKS_MK= # defined
+
+### [Sat Feb  4 09:07:25 CET 2006: schwarz]
+### SGI ido compiler does not handle (...) in defines
+###
+.if ${PKGSRC_COMPILER} == "ido"
+PKG_HACKS+=            no-dots-in-defines
+SUBST_CLASSES+=                dots
+SUBST_STAGE.dots=      post-patch
+SUBST_FILES.dots=      libxfce4util/xfce-miscutils.h libxfce4util/debug.h
+SUBST_SED.dots=                -e 's,(\.\.\.),(x),g'
+.endif
+
+.endif



Home | Main Index | Thread Index | Old Index