{"action":"created","issue":{"url":"https://api.github.com/repos/macports/macports-ports/issues/1254","repository_url":"https://api.github.com/repos/macports/macports-ports","labels_url":"https://api.github.com/repos/macports/macports-ports/issues/1254/labels{/name}","comments_url":"https://api.github.com/repos/macports/macports-ports/issues/1254/comments","events_url":"https://api.github.com/repos/macports/macports-ports/issues/1254/events","html_url":"https://github.com/macports/macports-ports/pull/1254","id":292318787,"number":1254,"title":"plumed: cxx11 portgroup","user":{"login":"GiovanniBussi","id":4378974,"avatar_url":"https://avatars1.githubusercontent.com/u/4378974?v=4","gravatar_id":"","url":"https://api.github.com/users/GiovanniBussi","html_url":"https://github.com/GiovanniBussi","followers_url":"https://api.github.com/users/GiovanniBussi/followers","following_url":"https://api.github.com/users/GiovanniBussi/following{/other_user}","gists_url":"https://api.github.com/users/GiovanniBussi/gists{/gist_id}","starred_url":"https://api.github.com/users/GiovanniBussi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GiovanniBussi/subscriptions","organizations_url":"https://api.github.com/users/GiovanniBussi/orgs","repos_url":"https://api.github.com/users/GiovanniBussi/repos","events_url":"https://api.github.com/users/GiovanniBussi/events{/privacy}","received_events_url":"https://api.github.com/users/GiovanniBussi/received_events","type":"User","site_admin":false},"labels":[{"id":474291564,"url":"https://api.github.com/repos/macports/macports-ports/labels/maintainer","name":"maintainer","color":"c2e0c6","default":false},{"id":615645858,"url":"https://api.github.com/repos/macports/macports-ports/labels/maintainer:%20open","name":"maintainer: open","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2018-01-29T08:20:40Z","updated_at":"2018-02-01T10:01:21Z","closed_at":"2018-01-29T16:37:36Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/macports/macports-ports/pulls/1254","html_url":"https://github.com/macports/macports-ports/pull/1254","diff_url":"https://github.com/macports/macports-ports/pull/1254.diff","patch_url":"https://github.com/macports/macports-ports/pull/1254.patch"},"body":"I included cxx11 PortGroup (see hint from @kencu at #1252). Compilers from gcc family will be disabled now. I took the occasion to update the snapshot used in `plumed-devel` subport (development branch).\r\n"},"comment":{"url":"https://api.github.com/repos/macports/macports-ports/issues/comments/362217173","html_url":"https://github.com/macports/macports-ports/pull/1254#issuecomment-362217173","issue_url":"https://api.github.com/repos/macports/macports-ports/issues/1254","id":362217173,"user":{"login":"RJVB","id":1756884,"avatar_url":"https://avatars0.githubusercontent.com/u/1756884?v=4","gravatar_id":"","url":"https://api.github.com/users/RJVB","html_url":"https://github.com/RJVB","followers_url":"https://api.github.com/users/RJVB/followers","following_url":"https://api.github.com/users/RJVB/following{/other_user}","gists_url":"https://api.github.com/users/RJVB/gists{/gist_id}","starred_url":"https://api.github.com/users/RJVB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RJVB/subscriptions","organizations_url":"https://api.github.com/users/RJVB/orgs","repos_url":"https://api.github.com/users/RJVB/repos","events_url":"https://api.github.com/users/RJVB/events{/privacy}","received_events_url":"https://api.github.com/users/RJVB/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T10:01:21Z","updated_at":"2018-02-01T10:01:21Z","author_association":"CONTRIBUTOR","body":">Bottom line: if I add `$(CXXFLAGS)` to `$(LDFLAGS)` I will risk to pass options that are meant for a C++ compiler to a C or Fortran compiler. That's why I would prefer to keep them separate, allowing the final user to customize them when calling `./configure`. Notice that we always combine `$(LIBS)` and `$(LDFLAGS)`, maybe that's the mistake.\n\nIn that case, check what configure.cxx_stdlib actually contains, and use (rewrite) it to a form that any compiler will accept. The target flag here will ultimately be something like -lc++ or -lmacports-stdc++, and any compiler should accept that in a link command. But if necessary you can probably wrap it with -Wl to remove any ambiguity.\n\nThere may also be the alternative to specify \"LDFLAGS+=-lfoo\" on the make command line (build.args or build.post_args).\n"}}
{"actor":{"display_login":"RJVB"}}