Sponsored Content
Full Discussion: make.conf
Operating Systems BSD make.conf Post 302303108 by ph0enix on Wednesday 1st of April 2009 11:51:31 PM
Old 04-02-2009
set the env. variable BATCH to "yes". In bash, you can do:

BATCH="yes" make install distclean
 

10 More Discussions You Might Find Interesting

1. Linux

Error in issuing a make and make install

Hi, Recently I install a package and try to do a make and make install. However, in the make it gives me below error:- make:Nothing to be done for 'install-exec-am' make:Nothing to be done for 'install-data-am' Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies

2. UNIX for Advanced & Expert Users

Configuring snmpd.conf and snmptrapd.conf

HI, I want a help for Configuring snmpd.conf and snmptrapd.conf (i.e Configuring SNMP) for receiving TRAPS in my networks. I am using RHEL4.0 OS. Please tell me How I can configure above two files in a proper way and at an advanced level. Especially I am getting... (2 Replies)
Discussion started by: jagdish.machhi@
2 Replies

3. Red Hat

SD.conf and LPFC.conf

What would be Redhat RHEL 4.0 equivalent for Solaris sd.conf and lpfc.conf? What are the files called and where are the files located? (1 Reply)
Discussion started by: soupbone38
1 Replies

4. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

5. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

6. UNIX for Dummies Questions & Answers

Difference between configure/make/make install.

Hi, While installation of apache on linux, we perform the below tasks. 1) Untar 2) configure 3) make 4) make install. I wanted to understand the difference and working of configure/make/make install. Can any one help me understanding this? Thanks in advance. (1 Reply)
Discussion started by: praveen_b744
1 Replies

7. Programming

Issue with make, no rule to make target etc.

I have been trying to split up my src directory to clear out files that are not re-compiled very often. Now I have the following setup in my trunk, trunk/bld trunk/src/ trunk/src/src_server trunk/makefile.linux In the make file, I have compile rules SOURCELOC = src # compile src c++... (4 Replies)
Discussion started by: LMHmedchem
4 Replies

8. Shell Programming and Scripting

Script to update rsyslog.conf and auditd.conf

Hello all, Newbie here. I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies

9. Solaris

Configure resolv.conf and nsswitch.conf

Hi, I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf. I used below to configure both settings: # svccfg -s dns/client svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies

10. UNIX for Beginners Questions & Answers

Changes in dhcpd.conf do not make a difference in DHCP service behaviour

Hi Experts, Our DHCP server currently answers the DHCP Discover requests from ServerX. In our dhcpd.conf file there are parameters defined for ServerX. Now we introduced some additional Servers into the network and want them to get service from the same DHCP server. Similar configuration... (13 Replies)
Discussion started by: ekorgur
13 Replies
PORTS(7)					       BSD Miscellaneous Information Manual						  PORTS(7)

NAME
ports -- contributed applications DESCRIPTION
The FreeBSD Ports Collection offers a simple way for users and administrators to install applications. Each port contains any patches neces- sary to make the original application source code compile and run on FreeBSD. Compiling an application is as simple as typing make build in the port directory! The Makefile automatically fetches the application source code, either from a local disk or via FTP, unpacks it on your system, applies the patches, and compiles it. If all goes well, simply type make install to install the application. For more information about using ports, see ``Packages and Ports'' in The FreeBSD Handbook, (file:/usr/share/doc/en_US.ISO8859-1/books/handbook/ports.html or http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html). For information about creating new ports, see The Porter's Handbook (file:/usr/share/doc/en_US.ISO8859-1/books/porters-handbook/index.html or http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/). TARGETS
Some of the targets work recursively through subdirectories. This lets you, for example, install all of the ``biology'' ports. The targets that do this are build, checksum, clean, configure, depends, extract, fetch, install, and package. The following targets will be run automatically by each proceeding target in order. That is, build will be run (if necessary) by install, and so on all the way to fetch. Usually, you will only use the install target. config Configure OPTIONS for this port using dialog4ports(1). fetch Fetch all of the files needed to build this port from the sites listed in MASTER_SITES and PATCH_SITES. See FETCH_CMD, MASTER_SITE_OVERRIDE and MASTER_SITE_BACKUP. checksum Verify that the fetched distfile's checksum matches the one the port was tested against. If the distfile's checksum does not match, it also fetches the distfiles which are missing or failed the checksum calculation. Defining NO_CHECKSUM will skip this step. depends Install (or compile if only compilation is necessary) any dependencies of the current port. When called by the extract or fetch targets, this is run in piecemeal as fetch-depends, build-depends, etc. Defining NO_DEPENDS will skip this step. extract Expand the distfile into a work directory. patch Apply any patches that are necessary for the port. configure Configure the port. Some ports will ask you questions during this stage. See INTERACTIVE and BATCH. build Build the port. This is the same as calling the all target. install Install the port and register it with the package system. This is all you really need to do. The following targets are not run during the normal install process. showconfig Display OPTIONS config for this port. showconfig-recursive Display OPTIONS config for this port and all its dependencies. rmconfig Remove OPTIONS config for this port. rmconfig-recursive Remove OPTIONS config for this port and all its dependencies. config-conditional Skip the ports which have already had their OPTIONS configured. config-recursive Configure OPTIONS for this port and all its dependencies using dialog4ports(1). fetch-list Show list of files to be fetched in order to build the port. fetch-recursive Fetch the distfiles of the port and all its dependencies. fetch-recursive-list Show list of files that would be retrieved by fetch-recursive. run-depends-list, build-depends-list Print a list of all the compile and run dependencies, and dependencies of those dependencies, by port directory. all-depends-list Print a list of all dependencies for the port. pretty-print-run-depends-list, pretty-print-build-depends-list Print a list of all the compile and run dependencies, and dependencies of those dependencies, by port name and version. missing Print a list of missing dependencies to be installed for the port. clean Remove the expanded source code. This recurses to dependencies unless NOCLEANDEPENDS is defined. distclean Remove the port's distfiles and perform the clean target. The clean portion recurses to dependencies unless NOCLEANDEPENDS is defined, but the distclean portion never recurses (this is perhaps a bug). reinstall Use this to restore a port after using pkg_delete(1) when you should have used deinstall. deinstall Remove an installed port from the system, similar to pkg_delete(1). deinstall-all Remove all installed ports with the same PKGORIGIN from the system. package Make a binary package for the port. The port will be installed if it has not already been. The package is a .tbz file that you can use to install the port on other machines with pkg_add(1). If the directory specified by PACKAGES does not exist, the package will be put into the current directory. See PKGREPOSITORY and PKGFILE. package-recursive Like package, but makes a package for each depending port as well. package-name Prints the name with version of the port. readmes Create a port's README.html. This can be used from /usr/ports to create a browsable web of all ports on your system! search Search the INDEX file for the pattern specified by the key (searches the port name, comment, and dependencies), name (searches the port name only), path (searches the port path), info (searches the port info), maint (searches the port main- tainer), cat (searches the port category), bdeps (searches the port build-time dependency), rdeps (searches the port run- time dependency), www (searches the port web site) make(1) variables, and their exclusion counterparts: xname, xkey etc. For example, one would type: cd /usr/ports && make search name=query to find all ports whose name matches ``query''. Results include the matching ports' path, comment, maintainer, build depen- dencies, and run dependencies. cd /usr/ports && make search name=pear- xbdeps=apache To find all ports whose names contain ``pear-'' and which do not have apache listed in build-time dependencies. cd /usr/ports && make search name=pear- xname='ht(tp|ml)' To find all ports whose names contain ``pear-'', but not ``html'' or ``http''. make search key=apache display=name,path,info keylim=1 To find ports that contain ``apache'' in either of the name, path, info fields, ignore the rest of the record. By default the search is not case-sensitive. In order to make it case-sensitive you can use the icase variable: make search name=p5-R icase=0 quicksearch Reduced search output. Only display name, path and info. describe Generate a one-line description of each port for use in the INDEX file. maintainer Display the port maintainer's email address. index Create /usr/ports/INDEX, which is used by the pretty-print-* and search targets. Running the index target will ensure your INDEX file is up to date with your ports tree. fetchindex Fetch the INDEX file from the FreeBSD cluster. ENVIRONMENT
You can change all of these. PORTSDIR Location of the ports tree. This is /usr/ports on FreeBSD and OpenBSD, and /usr/pkgsrc on NetBSD. WRKDIRPREFIX Where to create any temporary files. Useful if PORTSDIR is read-only (perhaps mounted from a CD-ROM). DISTDIR Where to find/put distfiles, normally distfiles/ in PORTSDIR. PACKAGES Used only for the package target; the base directory for the packages tree, normally packages/ in PORTSDIR. If this directory exists, the package tree will be (partially) constructed. This directory does not have to exist; if it does not, packages will be placed into the current directory, or you can define one of PKGREPOSITORY Directory to put the package in. PKGFILE The full path to the package. LOCALBASE Where existing things are installed and where to search for files when resolving dependencies (usually /usr/local). PREFIX Where to install this port (usually set to the same as LOCALBASE). MASTER_SITES Primary sites for distribution files if not found locally. PATCH_SITES Primary locations for distribution patch files if not found locally. MASTER_SITE_FREEBSD If set, go to the master FreeBSD site for all files. MASTER_SITE_OVERRIDE Try going to these sites for all files and patches, first. MASTER_SITE_BACKUP Try going to these sites for all files and patches, last. RANDOMIZE_MASTER_SITES Try the download locations in a random order. MASTER_SORT Sort the download locations according to user supplied pattern. Example: .dk .sunet.se .se dk.php.net .no .de heanet.dl.sourceforge.net MASTER_SITE_INDEX Where to get INDEX source built on FreeBSD cluster (for fetchindex target). Defaults to http://www.FreeBSD.org/ports/. FETCHINDEX Command to get INDEX (for fetchindex target). Defaults to ``fetch -am''. NOCLEANDEPENDS If defined, do not let clean recurse to dependencies. FETCH_CMD Command to use to fetch files. Normally fetch(1). FORCE_PKG_REGISTER If set, overwrite any existing package registration on the system. MOTIFLIB Location of libXm.{a,so}. INTERACTIVE If defined, only operate on a port if it requires interaction. BATCH If defined, only operate on a port if it can be installed 100% automatically. DISABLE_VULNERABILITIES If defined, disable check for security vulnerabilities using pkg-audit(8) when installing new ports. NO_IGNORE If defined, allow installation of ports marked as <FORBIDDEN>. The default behavior of the Ports framework is to abort when the installation of a forbidden port is attempted. Of course, these ports may not work as expected, but if you really know what you are doing and are sure about installing a forbidden port, then NO_IGNORE lets you do it. NO_CHECKSUM If defined, skip verifying the port's checksum. TRYBROKEN If defined, attempt to build a port even if it is marked as <BROKEN>. PORT_DBDIR Directory where the results of configuring OPTIONS are stored. Defaults to /var/db/ports. Each port where OPTIONS have been configured will have a uniquely named sub-directory, containing a single file options. MAKE VARIABLES
The following list provides a name and short description for many of the variables that are used when building ports. More information on these and other related variables may be found in ${PORTSDIR}/Mk/* and the FreeBSD Porter's Handbook. WITH_OPENSSL_PORT (bool) If set, causes ports that make use of OpenSSL to use the OpenSSL from ports (if available) instead of the OpenSSL from the base system. WITH_DEBUG (bool) If set, debugging symbols are installed for ports binaries. WITH_DEBUG_PORTS A list of origins for which to set WITH_DEBUG_PORTS. WITH_SSP_PORTS (bool) If set, enables -fstack-protector for most ports. WITH_GHOSTSCRIPT_VER If set, the version of ghostscript to be used by ports. OVERRIDE_LINUX_BASE_PORT The default linux base to use. WITH_CCACHE_BUILD (bool) If set, enables the use of ccache(1) for building ports. CCACHE_DIR Which directory to use for the ccache data. FILES
/usr/ports The default ports directory /usr/ports/Mk/bsd.port.mk The big Kahuna. SEE ALSO
make(1), make.conf(5), pkg(8), portsnap(8) The following are part of the ports collection: pkg(7), portlint(1) The FreeBSD Handbook. http://www.FreeBSD.org/ports (searchable index of all ports) HISTORY
The Ports Collection appeared in FreeBSD 1.0. It has since spread to NetBSD and OpenBSD. AUTHORS
This manual page was originated by David O'Brien. BUGS
Ports documentation is split over four places -- /usr/ports/Mk/bsd.port.mk, The Porter's Handbook, the ``Packages and Ports'' chapter of The FreeBSD Handbook, and this manual page. BSD
June 6, 2014 BSD
All times are GMT -4. The time now is 04:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy