Commit graph

1058 commits

Author SHA1 Message Date
Antoine Brodin
9aa789468c Revert another part of r361917
With hat:	portmgr
2014-08-01 11:32:14 +00:00
Antoine Brodin
6e5fd411df - Reset @cwd to prefix after creating ldconfig configuration file in localbase
- Reset @cwd to prefix before listing info pages (same as is done for PORTDOCS,
PORTEXAMPLES and PORTDATA)
- Fix a typo from 2006, LDCONFIG_32DIR instead of LDCONFIG32_DIR

Reported by:	John Hein
Phabric:	D493
Reviewed by:	bapt
Exp-run:	self
With hat:	portmgr
2014-07-29 17:38:19 +00:00
Dmitry Marakasov
c136dca779 - Allow to make developer warnings fatal
Approved by:	portmgr (bapt)
2014-07-29 17:36:03 +00:00
Baptiste Daroussin
f8432665bb Partially revert r361917 2014-07-22 12:56:21 +00:00
Baptiste Daroussin
a0551a6342 Make sure to create the WRKDIR even is do-extract is define in the port Makefile 2014-07-21 13:00:37 +00:00
Baptiste Daroussin
40a23a37e7 Clean working directories earlier 2014-07-21 12:40:49 +00:00
Baptiste Daroussin
4a57b32379 Now that all LIB_DEPENDS has been switched to modern version, remove support
for ancient version.

Phabric:	D415
Reviewed by:	swills
2014-07-16 05:55:14 +00:00
John Marino
6afd4a2d6f bsd.port.mk: Define CONFIGURE_TARGET using OPSYS instead of freebsd
This change has been applied locally to dports for over a year, but it
also will facilitate vendor rebranding for FreeBSD.

Phabric:	D413
Approved by:	portmgr (bapt)
2014-07-15 13:20:56 +00:00
Baptiste Daroussin
86b1bf4c10 Fix simple condition in making directories
Phabric:	D101
PR:		164351
Submitted by:	yaneurabeya@gmail.com
Reviewed by:	swills
2014-07-15 13:13:03 +00:00
Mathieu Arnold
8f85de0a30 Be a bit more direct about pkg_install having to be replaced by pkg.
Reviewed by:	swills
Sponsored by:	Absolight
2014-07-11 15:25:42 +00:00
Bryan Drewery
1d4f508057 Add URL explaining NO_STAGE deprecation
With hat:	portmgr
2014-07-02 19:51:23 +00:00
Baptiste Daroussin
7bf848892a Deprecate all non stage ports with expiration date 2014-08-31
Please note that no ports with a valid PR will be removed!
Deprecation will automatically go away as soon as stagification is done

Reviewed by:	mat
2014-07-02 13:49:44 +00:00
Baptiste Daroussin
44720cd544 Remove bsd.pbi.mk, it is not used anymore to produce modern PBIs
Approved by:	kmoore
2014-07-02 06:05:43 +00:00
Antoine Brodin
2ec52ec10f Use print/indexinfo to generate index of info pages
It is much more lightweight than ginstall-info (12kB vs 400kB) and
ginstall-info had a regression causing some index leftover on uninstall

Submitted by:	bapt
Exp-run:	self
With hat:	portmgr
2014-06-28 10:03:00 +00:00
Antoine Brodin
bd2bbe06be Do not hide errors listing info pages in the pkg case
With hat:	portmgr
2014-06-26 08:04:55 +00:00
Baptiste Daroussin
e1d7d7f00f Use print/texinfo-lite to install info pages
This allows to use modern version of texinfo as well as allow packages to
install properly on a system built WITHOUT_INFO
2014-06-25 08:36:36 +00:00
Baptiste Daroussin
15128d1d38 Remove the IGNOREFILES feature: it was an unsafe feature allowing to use files
fetched from untrusted sources directly into the ports tree

CR:		D269
Reviewed by:	portmgr (antoine)
2014-06-23 09:57:27 +00:00
Antoine Brodin
7c7b6b6ef1 Make @dirrmtry handling in pkg_install closer to what pkg does
Original patch:	bapt
Phabric:	D215
Exp-run:	self, less orphans/leftovers with pkg_install with patch than without
		and no new failures with pkg
With hat:	portmgr
2014-06-20 21:03:02 +00:00
Mathieu Arnold
1539b3f464 Fixup COPYTREE_* doc. 2014-06-18 22:10:06 +00:00
Baptiste Daroussin
6624bfc27f Remove support for USE_DRUPAL 2014-06-18 12:18:44 +00:00
Baptiste Daroussin
fe8a244970 Backout support for WITHOUT_INFO in base it triggers an infinite recursion
print/texinfo depends on help2man which provides info files and thus
need texinfo...
2014-06-15 22:13:02 +00:00
Baptiste Daroussin
e845d10885 do not overwrite RUN and BUILD DEPENDS
Slapped by:	antoine
2014-06-15 21:42:01 +00:00
Baptiste Daroussin
c3654a1b9d Make ports providing info files depending on print/textinfo if base has been built WITHOUT_INFO
PR:		129741
2014-06-15 21:38:29 +00:00
Baptiste Daroussin
e16e20ac67 Make pkg_install aware of @fc @fcfontsdir and @fontsdir
Simplify bsd.xorg.mk by only using those keywords
run pkg_install.awk later to allow to use keywords in most of the targets in Mk/*

Tested by:	mandree
2014-06-12 10:10:50 +00:00
Antoine Brodin
ba606a66f6 Fix USE_LDCONFIG when PREFIX!=LOCALBASE and there is no NO_MTREE
Reported by:	gerald
Reviewed by:	bapt
Phabric:	D209
2014-06-11 21:14:19 +00:00
Baptiste Daroussin
299921ac89 Define X_SYSROOT to avoid duplicating code too much
Define PKG_CONFIG_SYSROOT_DIR for cross building pkgconf files
2014-06-11 21:00:50 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Mathieu Arnold
2e6c4aa347 Don't run fix-perl-bs when NO_STAGE, it's not needed.
Noticed by:	antoine
Sponsored by:	Absolight
2014-06-10 22:15:11 +00:00
Mathieu Arnold
61de712f46 Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
2014-06-10 12:14:12 +00:00
Antoine Brodin
047b1c8ff7 Kill NO_LDCONFIG_MTREE, it is long dead
Make USE_LDCONFIG work when PREFIX!=LOCALBASE,
LDCONFIG_DIR and LDCONFIG_32DIR are expected in LOCALBASE

Phabric:	D195
Reviewed by:	bapt
With hat:	portmgr
2014-06-08 21:25:54 +00:00
Baptiste Daroussin
54d99c4de5 Fix NO_PIE env definition
Reported by:	peter
2014-06-07 00:27:41 +00:00
Bryan Drewery
7c2fd382bb - Disable PIE in ports for now until more testing can be done.
This is to avoid issues with upcoming PIE support in head which
  is needed for ASLR.

With hat:	portmgr
2014-06-06 21:40:56 +00:00
Bryan Drewery
adf44e394f lib-depends: Don't show "- not found" on a new line.
With hat:	portmgr
2014-06-05 01:08:26 +00:00
Mathieu Arnold
886c83c618 Apply a band-aid on Perl ports plists for perl 5.20.
This is not the right fix, but with this, we can move forward.

With hat:	perl@, portmgr
Sponsored by:	Absolight
2014-06-02 08:48:13 +00:00
Bryan Drewery
0713487d3e - Fix grammar and reword
Submitted by:	mandree
With hat:	portmgr
2014-05-30 17:31:44 +00:00
Bryan Drewery
fa72655e3b - When showing vulnerability warning give an explanation that there
will not necessarily be an update. Give advice on how to skip the
  check. It is the user's choice afterall.

With hat:	portmgr
Reported by:	jhb
2014-05-30 16:40:33 +00:00
Bryan Drewery
59efeb0862 - The output from PKG_INFO is actually needed
With hat:	portmgr
Pointyhat to:	bdrewery
2014-05-29 22:21:35 +00:00
Bryan Drewery
8b2b8f3d8d - Stop showing pkg warnings when looking for dependencies based on package
version ranges

  old:
    ~/svn/ports/databases/libdrizzle # make
    ===>   libdrizzle-0.8_1 depends on package: doxygen>=0 - not found
    pkg-static: No package(s) matching doxygen
    ===>    Verifying install for doxygen>=0 in /root/svn/ports/devel/doxygen
  new:
    ~/svn/ports/databases/libdrizzle # make build-depends
    ===>   libdrizzle-0.8_1 depends on package: doxygen>=0 - not found
    ===>    Verifying install for doxygen>=0 in /root/svn/ports/devel/doxygen

With hat:	portmgr
2014-05-29 21:57:15 +00:00
Martin Wilke
30a9cc83fd - Remove USE_GMAKE support, please use USES=gmake instead 2014-05-29 15:17:17 +00:00
Baptiste Daroussin
3dc87da393 Add a new option, INSTALL_STRIPPED,
which is intended to be used with WITH_DEBUG, allowing the system to build
packages with debugging symbols enabled and kept in build environment but
do not install them with the resulting binaries.

PR:		ports/185309
Submitted by:	delphij
Reviewed by:	bdrewery
2014-05-28 15:59:47 +00:00
Baptiste Daroussin
aac69c1d99 fix checking DISTDIR for writeability
PR:		ports/127467
Submitted by:	Sergey Skvortsov <godegisel@FreeBSD.org>
2014-05-28 14:51:28 +00:00
Baptiste Daroussin
dd96acba30 make missing distinfo file fatal
PR:		ports/184602
Submitted by:	mandree
Reviewed by:	antoine
2014-05-28 13:23:21 +00:00
Baptiste Daroussin
738692c997 Remove support for USE_DISPLAY 2014-05-28 12:14:01 +00:00
Mathieu Arnold
3610c2b4e0 Forgot to add fix-packlist for NEED_ROOT.
Sponsored by:	Absolight
2014-05-27 21:21:48 +00:00
Baptiste Daroussin
fc5c95cd6c Drop support for USE_SCONS please use USES=scons instead 2014-05-27 14:58:58 +00:00
Baptiste Daroussin
a599027a85 Remove bsd.lua.mk and USE_LUA support please use USES=lua 2014-05-26 15:49:05 +00:00
Baptiste Daroussin
a1ed68057d Drop compatibility code for USE_DOS2UNIX 2014-05-26 09:29:50 +00:00
Bryan Drewery
bf30f17d18 - When searching for lib-depends, show which file was found.
This also fixes "- found" showing alone when there are multiple matches.

PR:		ports/187084
2014-05-25 15:42:52 +00:00
Mathieu Arnold
2686164bfb - Add a USE_PERL5=fixpacklist to account for ports creating one when not using
USE_PERL5=configure or USE_PERL5=modbuildtiny.
- Change perl5.mk to use a specific target and not abuse post-stage.

Reviewed by:	bapt
With Hat:	portmgr
Sponsored by:	Absolight
2014-05-25 11:37:28 +00:00
Peter Wemm
7a033d5909 Point MASTER_SITES_BACKUP / MASTER_SITES_LOCAL to distcache.FreeBSD.org
Approved by:    portmgr (bdrewery)
2014-05-23 20:48:20 +00:00