summaryrefslogtreecommitdiff
path: root/x11/libxfce4util
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-02-18 20:43:00 +0000
committerschwarz <schwarz@pkgsrc.org>2006-02-18 20:43:00 +0000
commit63718136de54f7465f285967eb902f1e6d14bf69 (patch)
tree254ddc00a2c68c8297e929d2b301ac85e6b77b1c /x11/libxfce4util
parentd37fe524abdf346f25026c1150f7a3e2f1f90a93 (diff)
downloadpkgsrc-63718136de54f7465f285967eb902f1e6d14bf69.tar.gz
make libxfce4util compile with SGI IDO compiler used with IRIX5
Diffstat (limited to 'x11/libxfce4util')
-rw-r--r--x11/libxfce4util/hacks.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/libxfce4util/hacks.mk b/x11/libxfce4util/hacks.mk
new file mode 100644
index 00000000000..2da7a705cb4
--- /dev/null
+++ b/x11/libxfce4util/hacks.mk
@@ -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