{"id":20757895,"url":"https://github.com/amdmi3/freebsd-ports-mk","last_synced_at":"2026-04-02T01:51:15.684Z","repository":{"id":139657399,"uuid":"2197626","full_name":"AMDmi3/freebsd-ports-mk","owner":"AMDmi3","description":"Some unmerged patches of FreeBSD ports infrastructure (ports/Mk)","archived":false,"fork":false,"pushed_at":"2013-01-16T21:20:11.000Z","size":2428,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-18T04:44:05.363Z","etag":null,"topics":["freebsd-ports"],"latest_commit_sha":null,"homepage":"http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AMDmi3.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-12T15:14:02.000Z","updated_at":"2014-04-08T13:09:45.000Z","dependencies_parsed_at":"2023-03-13T10:46:11.652Z","dependency_job_id":null,"html_url":"https://github.com/AMDmi3/freebsd-ports-mk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMDmi3%2Ffreebsd-ports-mk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMDmi3%2Ffreebsd-ports-mk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMDmi3%2Ffreebsd-ports-mk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AMDmi3%2Ffreebsd-ports-mk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AMDmi3","download_url":"https://codeload.github.com/AMDmi3/freebsd-ports-mk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243067300,"owners_count":20230898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["freebsd-ports"],"created_at":"2024-11-17T09:46:14.980Z","updated_at":"2025-12-26T04:07:54.935Z","avatar_url":"https://github.com/AMDmi3.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a collection of patches for ports/Mk directory of FreeBSD\nportstree, which I for some reason don't feel like submitting because\nthey are unfinished or are just concepts.\n\nEach patch is stored in a separate branch, and (WARNING!) those\nbranches will be rebased onto upstream to avoid history pollution\nwith merge commits, so be careful if you clone/fork this repo.\n\nPatches currently include:\n\n  cmake-no-extra-flags\n    prevents CMake from adding extra C/CXX flags when building\n    ports. We set CMAKE_BUILD_TYPE to either release and debug\n    based on WITH_DEBUG (and even if we don't do some software\n    force build type), and thus cmake adds \"-O3 -DNDEBUG\" or\n    \"-O0 -g\" acordingly. Ports/build systems should not tamper\n    with system compiler flags, however in this case it's not\n    a big problem so I doubt the patch is needed\n\n  install-as-user\n    when INSTALL_AS_USER is defined, places PORTS_DBDIR and PKG_DBDIR\n    in user's home (~/.ports, ~/.pkgdb), allowing user to use\n    ports system to the full extent without root privileges\n\n  local-patchdir\n    allows user to specify local directory with custom patches which\n    are applied after patches from ${PORTDIR}/files. This is hacky\n    and unsafe, as patches may break when the port is updated\n\n  show-configlog\n    if configure fails, displays its config.log, which is very useful\n    for debugging build failures. Whether to display config.log is\n    based on whether BATCH is set, and I doubt it's the best solution\n    (is there another varible which is set on pointyhat/in tinderbox?\n    or should we use e.g. VERBOSE_BUILD which is set there and which\n    also turns on VERBOSE more for cmake)\n\n  src_base\n    convenient way to show that the port uses system/kernel sources\n    (/usr/src). Checks whether source is present, allows to not hardcode\n    /usr/src and also compares source version with version of running\n    system (that is, not to accidentally build a module for another\n    kernel version)\n\n  stack-protector\n    allows to add -fstack-protector to compiler flags, optionally\n    in a manner similar to MAKE_JOBS\n\nSome of these have been rotting in my CVS checkout since 2008, so may\nbe outdated or already (partially) implemented.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdmi3%2Ffreebsd-ports-mk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famdmi3%2Ffreebsd-ports-mk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdmi3%2Ffreebsd-ports-mk/lists"}