mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
makepanda: Fixed building of FreeBSD installer
- Include the python bindings when building the FreeBSD installer Signed-off-by: deflected <deflected@users.noreply.github.com> Closes #585
This commit is contained in:
parent
9284a3cd9c
commit
0840e80f54
@ -748,7 +748,7 @@ def MakeInstallerOSX(version, runtime=False, python_versions=[], **kwargs):
|
|||||||
oscmd('rm -f Panda3D-rw.dmg')
|
oscmd('rm -f Panda3D-rw.dmg')
|
||||||
|
|
||||||
|
|
||||||
def MakeInstallerFreeBSD(version, runtime=False, **kwargs):
|
def MakeInstallerFreeBSD(version, runtime=False, python_versions=[], **kwargs):
|
||||||
outputdir = GetOutputDir()
|
outputdir = GetOutputDir()
|
||||||
|
|
||||||
oscmd("rm -rf targetroot +DESC pkg-plist +MANIFEST")
|
oscmd("rm -rf targetroot +DESC pkg-plist +MANIFEST")
|
||||||
@ -758,7 +758,7 @@ def MakeInstallerFreeBSD(version, runtime=False, **kwargs):
|
|||||||
if runtime:
|
if runtime:
|
||||||
InstallRuntime(destdir="targetroot", prefix="/usr/local", outputdir=outputdir)
|
InstallRuntime(destdir="targetroot", prefix="/usr/local", outputdir=outputdir)
|
||||||
else:
|
else:
|
||||||
InstallPanda(destdir="targetroot", prefix="/usr/local", outputdir=outputdir)
|
InstallPanda(destdir="targetroot", prefix="/usr/local", outputdir=outputdir, python_versions=python_versions)
|
||||||
|
|
||||||
if not os.path.exists("/usr/sbin/pkg"):
|
if not os.path.exists("/usr/sbin/pkg"):
|
||||||
exit("Cannot create an installer without pkg")
|
exit("Cannot create an installer without pkg")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user