openbsd-ports/x11/emiclock/patches/patch-Imakefile
2007-10-26 20:44:07 +00:00

28 lines
897 B
Plaintext

$OpenBSD: patch-Imakefile,v 1.1 2007/10/26 20:44:07 jasper Exp $
--- Imakefile.orig Thu Sep 2 16:33:47 1999
+++ Imakefile Fri Oct 26 22:33:32 2007
@@ -104,8 +104,14 @@ XCOMM
/* FreeBSD */
#if defined(i386BsdArchitecture) && (defined(i386FreeBsd) || defined(FreeBSDArchitecture))
#define StartupSound myu.au
+EXTRA_LIBRARIES = -lxpg4
#endif /* i386BsdArchitecture && (i386FreeBsd || FreeBSDArchitecture) */
+/* OpenBSD */
+#ifdef OpenBSDArchitecture
+#define StartupSound myu.au
+#endif /* OpenBSDArchitecture */
+
#else /* USE_NETAUDIO */
/* netaudio (NCDaudio) */
@@ -234,6 +240,6 @@ XCOMM
#ifdef USE_SOUND
install:: sounds/StartupSound
- MakeDir(EmiClockLib)
- $(INSTALL) -c $(INSTAPPFLAGS) sounds/StartupSound EmiClockLib/StartupSound
+ MakeDir($(DESTDIR)EmiClockLib)
+ $(INSTALL) -c $(INSTAPPFLAGS) sounds/StartupSound $(DESTDIR)EmiClockLib/StartupSound
#endif /* USE_SOUND */