make.conf: make pkgsrc.conf separate.
This commit is contained in:
		
							parent
							
								
									dbde088d98
								
							
						
					
					
						commit
						1c2dd749eb
					
				@ -4,7 +4,7 @@ USRETC=/usr/etc/
 | 
				
			|||||||
FILES1=fstab group hostname.file inet.conf motd.install mtab passwd profile \
 | 
					FILES1=fstab group hostname.file inet.conf motd.install mtab passwd profile \
 | 
				
			||||||
	protocols rc services termcap ttytab utmp rc.cd binary_sizes \
 | 
						protocols rc services termcap ttytab utmp rc.cd binary_sizes \
 | 
				
			||||||
	binary_sizes.big binary_sizes.xxl syslog.conf rc.daemons.dist \
 | 
						binary_sizes.big binary_sizes.xxl syslog.conf rc.daemons.dist \
 | 
				
			||||||
	rs.inet rs.single make.conf system.conf 
 | 
						rs.inet rs.single make.conf pkgsrc.conf system.conf 
 | 
				
			||||||
FILES2=shadow
 | 
					FILES2=shadow
 | 
				
			||||||
FILES3=daily dhcptags.conf rc 
 | 
					FILES3=daily dhcptags.conf rc 
 | 
				
			||||||
USRFILES=Makefile
 | 
					USRFILES=Makefile
 | 
				
			||||||
 | 
				
			|||||||
@ -1,40 +1,4 @@
 | 
				
			|||||||
# which architecture to compile for
 | 
					# which architecture to compile for
 | 
				
			||||||
ARCH=i386
 | 
					ARCH=i386
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.ifdef BSD_PKG_MK    # begin pkgsrc settings
 | 
					.include "pkgsrc.conf"
 | 
				
			||||||
 | 
					 | 
				
			||||||
CC= gcc
 | 
					 | 
				
			||||||
COMPILER_TYPE=gnu
 | 
					 | 
				
			||||||
AR=gar
 | 
					 | 
				
			||||||
NM=gnm
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
PATH:= ${PATH}:/usr/gnu/bin
 | 
					 | 
				
			||||||
.export PATH
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
PKGSRC_COMPILER=    gcc
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
PKG_DBDIR=        /usr/db/pkg
 | 
					 | 
				
			||||||
LOCALBASE=        /usr/pkg
 | 
					 | 
				
			||||||
VARBASE=        /var
 | 
					 | 
				
			||||||
PKG_TOOLS_BIN=        /usr/sbin
 | 
					 | 
				
			||||||
PKGMANDIR=        man
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
FETCH_USING?=        fetch
 | 
					 | 
				
			||||||
EXTRACT_USING?=    bsdtar
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# This is where binary packages are stored.
 | 
					 | 
				
			||||||
# PACKAGES?= /usr/tmp/packages
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# This is where packages will be extracted and compiled
 | 
					 | 
				
			||||||
WRKOBJDIR?=    /usr/tmp/work
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# This hack is required because, pkgsrc insists on having a working dlopen
 | 
					 | 
				
			||||||
# even for packages that build and work okay when we don't have one (perl,
 | 
					 | 
				
			||||||
# libtool, etc). This will cause packages that really require dlopen to fail
 | 
					 | 
				
			||||||
# during the build/configure stage. But considering the number of packages
 | 
					 | 
				
			||||||
# that work, this is okay
 | 
					 | 
				
			||||||
IS_BUILTIN.dl?=    yes
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
CURSES_DEFAULT?= ncurses
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.endif            # end pkgsrc settings
 | 
					 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										39
									
								
								etc/pkgsrc.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								etc/pkgsrc.conf
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,39 @@
 | 
				
			|||||||
 | 
					.ifdef BSD_PKG_MK    # begin pkgsrc settings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					CC= gcc
 | 
				
			||||||
 | 
					COMPILER_TYPE=gnu
 | 
				
			||||||
 | 
					AR=gar
 | 
				
			||||||
 | 
					NM=gnm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PATH:= ${PATH}:/usr/gnu/bin
 | 
				
			||||||
 | 
					.export PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PKGSRC_COMPILER=    gcc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PKG_DBDIR=        /usr/db/pkg
 | 
				
			||||||
 | 
					LOCALBASE=        /usr/pkg
 | 
				
			||||||
 | 
					VARBASE=        /var
 | 
				
			||||||
 | 
					PKG_TOOLS_BIN=        /usr/sbin
 | 
				
			||||||
 | 
					PKGMANDIR=        man
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					FETCH_USING?=        fetch
 | 
				
			||||||
 | 
					EXTRACT_USING?=    bsdtar
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# This is where binary packages are stored.
 | 
				
			||||||
 | 
					# PACKAGES?= /usr/tmp/packages
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# This is where packages will be extracted and compiled
 | 
				
			||||||
 | 
					WRKOBJDIR?=    /usr/tmp/work
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# This hack is required because, pkgsrc insists on having a working dlopen
 | 
				
			||||||
 | 
					# even for packages that build and work okay when we don't have one (perl,
 | 
				
			||||||
 | 
					# libtool, etc). This will cause packages that really require dlopen to fail
 | 
				
			||||||
 | 
					# during the build/configure stage. But considering the number of packages
 | 
				
			||||||
 | 
					# that work, this is okay
 | 
				
			||||||
 | 
					IS_BUILTIN.dl?=    yes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					CURSES_DEFAULT?= ncurses
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PKG_OPTIONS.groff=-x11 -groff-docs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.endif            # end pkgsrc settings
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user