freebsd-ports/astro/sunclock/files/patch-aa
Ying-Chieh Liao 74cc837141 upgrade to 3.38
PR:		26590
Submitted by:	ijliao
2001-04-22 14:35:32 +00:00

46 lines
1.3 KiB
Plaintext

--- Imakefile.orig Sun Apr 22 22:27:53 2001
+++ Imakefile Sun Apr 22 22:30:04 2001
@@ -1,15 +1,17 @@
XCOMM Should install to /usr or /usr/local ??
-DESTDIR=/usr
+DESTDIR=${PREFIX}
XCOMM Name of man subdirectory of DESTDIR:
-MANDIR=/X11R6/man/man1
+MANDIR=/man/man1
XCOMM Name of bin subdirectory of DESTDIR: /X11R6/bin or maybe just /bin
-BINDIR=/X11R6/bin
+BINDIR=/bin
XCOMM Name of share subdirectory of DESTDIR:
SHAREDIR=/share/sunclock
+DOCHTMLDIR=/lib/X11/doc/html
+
XCOMM
XCOMM Compile options:
XCOMM
@@ -38,17 +40,17 @@
# Solaris, Linux
#XPMLIB=-L/usr/X11R6/lib
#XPMINC=-I/usr/X11R6/include/X11
-#JLIB=-L/usr/lib
-#JINC=-I/usr/include
+JLIB=-L${LOCALBASE}/lib
+JINC=-I${LOCALBASE}/include
-CCOPTIONS=-O -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\"
+CCOPTIONS=-O -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\" -DNEW_CTIME -I${LOCALBASE}/include
#endif
SRCS=sunclock.c astro.c widgets.c tildepath.c dirlist.c \
readvmf.c readxpm.c readjpeg.c
OBJS=sunclock.o astro.o widgets.o tildepath.o dirlist.o \
readvmf.o readxpm.o readjpeg.o
-LOCAL_LIBRARIES=$(XLIB) $(XPMLIB) -lXpm $(JLIB) -ljpeg -lm
+LOCAL_LIBRARIES=$(XLIB) $(XPMLIB) -lXpm $(JLIB) -ljpeg -lm -lcompat
DEPLIBS= # I don't know what I'm doing, and I hate imake!
ComplexProgramTarget(sunclock)