Hi guys, Update:
On 4/16/07, Edd Barrett <[EMAIL PROTECTED]> wrote:
- I have verified that "gnu dest" is required. Never mind.
I disagree with this statement now. This was the reason for the double fake environment (read bsd.port.mk to see exactly what dest entails. I'm learning). So now I have been looking at patching things to have them use $DESTDIR at the "make install" (or make fake for our purposes). The first one I have fixed was dialog. I have patched like so: $OpenBSD$ --- utils/dialog/Makefile.in.orig Tue Jan 17 21:16:42 2006 +++ utils/dialog/Makefile.in Tue Apr 17 03:05:12 2007 @@ -109,13 +109,13 @@ install: install-exec $(man1dir)/tcdialo install-exec: installdirs $(bindir)/tcdialog installdirs: - $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(man1dir) + $(SHELL) ${srcdir}/mkinstalldirs ${DESTDIR}$(bindir) ${DESTDIR}$(man1dir ) $(bindir)/tcdialog: dialog - $(INSTALL_PROGRAM) dialog $@ + $(INSTALL_PROGRAM) dialog ${DESTDIR}$@ $(man1dir)/tcdialog.$(manext): dialog.man - $(INSTALL_DATA) $(srcdir)/dialog.man $@ + $(INSTALL_DATA) $(srcdir)/dialog.man ${DESTDIR}$@ check: This puts the stuff in the right place in the fake environment. Now its a case of patching out all the parts that arent listening to DESTDIR. I have no idea how long this will take. I think these patches should be ok to send upstream? The texlive guys will build with an empty DESTDIR, which should work fine. Comments / thoughts appreciated. -- Best Regards Edd