1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/mail/xmailbox/files/patch-aa
Steve Price e9284d7b92 Support PREFIX properly.
PR:		17853
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-04-30 19:35:57 +00:00

44 lines
1.2 KiB
Plaintext

--- 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 */