build: Do not force a specific perl from ${PERL} when running pod2man
authorAndrew Bartlett <abartlet@samba.org>
Thu, 7 Feb 2013 22:12:20 +0000 (09:12 +1100)
committerMichael Adam <obnox@samba.org>
Thu, 28 Feb 2013 01:14:25 +0000 (02:14 +0100)
pod2man should have the right #!/usr/bin/perl line already, and forcing it may
cause us to use the wrong perl.

Essentially treat this like any other system binary, rather than forcing
it to use the first perl we found.

This essentially reverts e80f576db66ad04592ac436ed74ceb9b96452060.
Current SLES11 does not seem to have the issue this was added to
address.

Andrew Bartlett

Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Thu Feb 28 02:14:25 CET 2013 on sn-devel-104

pidl/wscript

index e60ca202f501d965e3c00d0004ef50546b024712..7a25734663406e88d997212dddc6aa6458a726b5 100644 (file)
@@ -49,7 +49,7 @@ def build(bld):
     bld.SET_BUILD_GROUP('final')
     if 'POD2MAN' in bld.env and bld.env['POD2MAN'] != '':
         for src, manpage in pidl_manpages.iteritems():
-            bld(rule='${PERL} ${POD2MAN} -c "Samba Documentation" ${SRC} ${TGT}',
+            bld(rule='${POD2MAN} -c "Samba Documentation" ${SRC} ${TGT}',
                 shell=True,
                 source=src,
                 install_path=os.path.dirname(bld.EXPAND_VARIABLES('${MANDIR}/'+manpage)),