Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PKG_INSTALL_PORTSPFS and set build options

    Development
    3
    6
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      Guest
      last edited by

      Hi
      I can build and include a package in the image with  PKG_INSTALL_PORTSPFS . but how can i set build options? (for example mailscanner_UNSET=BDC).

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I believe PKG_INSTALL_PFSMAKEENV gets passed to make in that bit of code, it's probably what you want.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          I'm using PKG_INSTALL_PORTSPFS for multiple packages. how can i use PKG_INSTALL_PFSMAKEENV for each of them?

          export PKG_INSTALL_PORTSPFS="/usr/ports/security/snort /usr/ports/www/havp"
          
          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            AFAIK it's just a global setting, not per port. So either try to set them all in one variable or use OPTIONS_SET/OPTIONS_UNSET rather than the per-port options. I seem to recall it worked to specify them all on one variable though. I think the package builder script for 2.0.x does that now.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              PKG_INSTALL_PFSMAKEENV doesn't work on 2.1-rc1.
              How can i use OPTIONS_SET/OPTIONS_UNSET?

              1 Reply Last reply Reply Quote 0
              • E
                eri--
                last edited by

                Actually that needs to be fixed for 2.1 ++ since it was used with the old version of the ports tree.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.