From owner-freebsd-ports@FreeBSD.ORG Thu Dec 1 19:55:18 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A092B1065670 for ; Thu, 1 Dec 2011 19:55:18 +0000 (UTC) (envelope-from 5u623l20@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5ED088FC13 for ; Thu, 1 Dec 2011 19:55:18 +0000 (UTC) Received: by qadc10 with SMTP id c10so2274110qad.13 for ; Thu, 01 Dec 2011 11:55:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=ox0z8ouXoCqbBq3Pz2s3A/CtINNcLNXKdkckNgHavhI=; b=u3yGSetViXcSo3o4q9+CvO5oS0LHuDT/BGZi7IH5W+7Phr9231tS/PmMlhD4Fgl9jA Xs5JODEosxUmwqsBoPzvMG5SCMR764xiZVkaDcQkXDBlDwGVUmwqFqK3gAMeDfdAxctJ Vjyme1dtZnVd5n9Qwj4dmt32hNA6yEDK9s1EU= MIME-Version: 1.0 Received: by 10.229.34.13 with SMTP id j13mr1696749qcd.248.1322767502953; Thu, 01 Dec 2011 11:25:02 -0800 (PST) Received: by 10.229.187.129 with HTTP; Thu, 1 Dec 2011 11:25:02 -0800 (PST) Date: Fri, 2 Dec 2011 01:25:02 +0600 Message-ID: From: Muhammad Moinur Rahman <5u623l20@gmail.com> To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Porting application with RUN_DEPENDS and extra knobs X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2011 19:55:18 -0000 Hi, I am trying to port one of our Home Brew application for FreeBSD as we are moving towards BSD from Linux. Now while creating the Makefile for creating a port I am in a trouble. I want to automate the full script. My application has RUN_DEPENDS for perl. And perl should be built with PERL_64BITINT, THREADS and USE_PERL knobs for my application to work. Is there any way I can force from my Makefile to build and install perl with the above mentioned knobs. I have thought of creating a patch file and changing the knobs in /var/db/ports//options. But is there any official way to handle this? Thanks in advance. Regards, Moin