Created attachment 195164 [details] Patch (Revision 1) Builds on FreeBSD 11.2 amd64.
> CMake Error: The source directory "/usr/ports/emulators/nestopia/work/nestopia-1.49" does not appear to contain CMakeLists.txt.
Created attachment 195633 [details] Patch (Revision 2) I tested with a longer patch, but uploaded a short version. Sorry. Here's the updated patch.
Now it still fails: > checking whether c++ accepts -g... yes > ./configure: 2603: Syntax error: word unexpected (expecting ")") > ===> Script "configure" failed unexpectedly.
(In reply to Yuri Victorovich from comment #3) The section of configure in question is: if test "x${enable_flags_setting}" = "xyes" && test "x${enable_debug}" = "xno"; then : AX_APPEND_COMPILE_FLAGS(${cxxflags_test} -Wno-narrowing, CXXFLAGS) CXXFLAGS=$( echo ${CXXFLAGS} | $SED -e 's/^ *//' -e 's/ *$//' ) AX_APPEND_COMPILE_FLAGS(${cppflags_test}, CPPFLAGS) CPPFLAGS=$( echo ${CPPFLAGS} | $SED -e 's/^ *//' -e 's/ *$//' ) AX_APPEND_LINK_FLAGS(${ldflags_test}, LDFLAGS) LDFLAGS=$( echo ${LDFLAGS} | $SED -e 's/^ *//' -e 's/ *$//' ) fi
Created attachment 195785 [details] Patch (Revision 3) New patch - passes Poudriere.
Committed with changes. Thank you for your update!
A commit references this bug: Author: yuri Date: Fri Aug 3 02:54:04 UTC 2018 New revision: 476276 URL: https://svnweb.freebsd.org/changeset/ports/476276 Log: emulators/nestopia: Update 1.48 -> 1.49 Port changes: * Use DISTVERSION * Add LICENSE_FILE * Change cmake -> autoreconf, add BUILD_DEPENDS autoconf-archive * Remove stripping: it's now done by the project PR: 229796 Submitted by: Neel Chauhan <neel@neelc.org> (maintainer) Changes: head/emulators/nestopia/Makefile head/emulators/nestopia/distinfo head/emulators/nestopia/pkg-plist