summaryrefslogtreecommitdiff
path: root/mail/xmailbox/files/patch-Imakefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:20:38 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:20:38 +0000
commit8e7fd48a294d7d6e54c6d07989807cff33ab19bd (patch)
tree0e35601cdb966c752e15cc4e5381c7e20e13fd50 /mail/xmailbox/files/patch-Imakefile
parentscience/sigrok-cli: update to 0.5.0 (diff)
Rename mail/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363275
Diffstat (limited to 'mail/xmailbox/files/patch-Imakefile')
-rw-r--r--mail/xmailbox/files/patch-Imakefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/mail/xmailbox/files/patch-Imakefile b/mail/xmailbox/files/patch-Imakefile
new file mode 100644
index 000000000000..52c02b2c4a1e
--- /dev/null
+++ b/mail/xmailbox/files/patch-Imakefile
@@ -0,0 +1,43 @@
+--- Imakefile.orig Thu Jul 17 01:36:17 1997
++++ Imakefile Sat Apr 8 07:13:59 2000
+@@ -5,8 +5,8 @@
+ # Note: you need to have XPM 3.4 or higher!
+ #------------------------------------------
+ #
+-XPMINCDIR = /usr/include/X11
+-XPMLIBDIR = /usr/X11/lib
++XPMINCDIR = $(INCDIR)/X11
++XPMLIBDIR = $(USRLIBDIR)
+ XPMLIB = -L$(XPMLIBDIR) -lXpm
+
+ #-------------------------------
+@@ -20,7 +20,9 @@
+ # Comment the following define if you
+ # want audio support
+ #------------------------------------------
++#ifdef AlphaArcitecture
+ #define NO_AUDIO /* */
++#endif
+
+ #------------------------------------------
+ # Uncomment the following define if your
+@@ -42,7 +44,9 @@
+ # uncomment the following define to
+ # turn on sound support.
+ #------------------------------------------
+-/* SUN_AUDIO = -DSUN_AUDIO /* */
++#ifdef i386Architecture
++SUN_AUDIO = -DSUN_AUDIO /* */
++#endif
+
+ #------------------------------------------
+ # Uncomment the following define if you
+@@ -84,7 +88,7 @@
+ EXTRA_DEFINES = -DCOM_AUDIO
+ #else
+ SNDLIB =
+- INCLUDES = -I$(XPMINCDIR) -I/usr/public/include
++ INCLUDES = -I$(XPMINCDIR)
+ EXTRA_DEFINES = $(SUN_AUDIO)
+ #endif /* COM_AUDIO */
+ #endif /* RPLAY_AUDIO */