diff -ur bircd.orig/Makefile.dist bircd/Makefile.dist --- bircd.orig/Makefile.dist 2003-05-03 17:15:14.000000000 +0200 +++ bircd/Makefile.dist 2004-08-02 22:14:26.731222344 +0200 @@ -29,7 +29,7 @@ # IRCDLIBS blank. If that fails, try recomendations below. # XCFLAGS= -IRCDLIBS= +IRCDLIBS=-L${LIBDIR} # # use the following on MIPS: @@ -77,6 +77,7 @@ # DPATH= BPATH= +DESTDIR= # [CHANGEME] # Some SunOS versions want this. Try it without first. @@ -153,4 +154,4 @@ @cd src; ${MAKE} ${MAKEARGS} depend install: - @./ircdinst $(BPATH) $(DPATH) + @./ircdinst $(DESTDIR)/$(BPATH) $(DESTDIR)/$(DPATH)