This one time, at band camp, Henrique de Moraes Holschuh said:
> tags 302195 + patch
> thanks
> 
> See attached patch that does a quick fix of the mess.

This is slightly better:

--- net-snmp-5.1.2.old/debian/rules     2005-03-30 11:17:29.000000000 -0500
+++ net-snmp-5.1.2/debian/rules 2005-03-30 11:33:26.228432721 -0500
@@ -90,10 +90,7 @@
        dh_installdirs

        # Add here commands to install the package into debian/tmp.
-       $(MAKE) prefix=`pwd`/debian/tmp/usr exec_prefix=`pwd`/debian/tmp/usr \
-         mandir=`pwd`/debian/tmp/usr/share/man \
-         persistentdir=`pwd`/debian/tmp/var/lib/snmp \
-         PREFIX=`pwd`/debian/tmp/usr install
+       $(MAKE) INSTALL_PREFIX=`pwd`/debian/tmp/ install
        # Install the "broke" headers
        cp agent/mibgroup/struct.h debian/tmp/usr/include/net-snmp/agent
        cp agent/mibgroup/util_funcs.h debian/tmp/usr/include/net-snmp


INSTALL_PREFIX appears to be respected.  So this would be the right fix,
it seems.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: pgpJkCcMAPEYw.pgp
Description: PGP signature

Reply via email to