openbsd-ports/net/totd/patches/patch-ab
fgsch 3138875297 fake, CONFIGURE_STYLE and tag in PLIST.
change a few paths on installation.
2000-06-11 01:15:51 +00:00

21 lines
684 B
Plaintext

--- Makefile.in.orig Sun Feb 27 17:34:59 2000
+++ Makefile.in Sat Jun 10 21:46:44 2000
@@ -9,7 +9,7 @@
INSTALLDIR = @prefix@/sbin
INSTALLLIB = @prefix@/lib
INSTALL = /usr/bin/install
-TOT_CONFIG_FILE=@prefix@/etc/totd.conf
+TOT_CONFIG_FILE=/etc/totd.conf
CFLAGS = @CFLAGS@ @DEFS@ -DTOT_CONFIG_FILE=\"$(TOT_CONFIG_FILE)\" @OPTFLAGS@ $(INCLUDEPATH)
LDFLAGS = @LDFLAGS@
LDADD = @LIBS@ $(LIBINET6) $(LIBDEBUG)
@@ -39,7 +39,7 @@
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDADD}
install: $(PROG)
- $(INSTALL) -c -s -m 0555 -o bin -g bin $(PROG) $(INSTALLDIR)
+ $(INSTALL) -c -s -m 0555 -o bin -g bin $(PROG) ${DESTDIR}$(INSTALLDIR)
depend:
mkdep ${CFLAGS} ${SRCS}