40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
$OpenBSD: patch-Imakefile,v 1.2 2005/04/17 13:46:20 espie Exp $
|
|
--- Imakefile.orig Tue Aug 14 15:30:24 2001
|
|
+++ Imakefile Sun Apr 17 15:44:08 2005
|
|
@@ -1,5 +1,5 @@
|
|
XCOMM Should install to /usr or /usr/local ??
|
|
-DESTDIR=/usr
|
|
+#DESTDIR=/usr
|
|
|
|
XCOMM Name of man subdirectory of DESTDIR:
|
|
MANDIR=/X11R6/man/man1
|
|
@@ -8,7 +8,7 @@ XCOMM Name of bin subdirectory of DESTDI
|
|
BINDIR=/X11R6/bin
|
|
|
|
XCOMM Name of share subdirectory of DESTDIR:
|
|
-SHAREDIR=/share/sunclock
|
|
+SHAREDIR=${PREFIX}/share/sunclock
|
|
|
|
XCOMM
|
|
XCOMM Compile options:
|
|
@@ -38,13 +38,13 @@ CCOPTIONS = -Ae $(XPMINC) $(JINC) -DZLIB
|
|
#CCOPTIONS=-O -DZLIB -DNEW_CTIME -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\"
|
|
|
|
# Solaris, Linux
|
|
-#XPMLIBDIR=-L/usr/X11R6/lib
|
|
-#XPMINC=-I/usr/X11R6/include/X11
|
|
-#JLIBDIR=-L/usr/lib
|
|
-#ZLIBDIR=-L/usr/lib
|
|
-#JINC=-I/usr/include
|
|
+XPMLIBDIR=-L${X11BASE}/lib
|
|
+XPMINC=-I${X11BASE}/include/X11
|
|
+JLIBDIR=-L${DEPBASE}/lib
|
|
+ZLIBDIR=
|
|
+JINC=-I${DEPBASE}/include
|
|
|
|
-CCOPTIONS=-O -DZLIB -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\"
|
|
+CCOPTIONS+= $(JINC) $(XPMINC) -DZLIB -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\"
|
|
#endif
|
|
|
|
SRCS=sunclock.c astro.c widgets.c tildepath.c dirlist.c \
|