[Bug 185444] [NEW PORT] revive port games/wesnoth-devel

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 14 17:36:30 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185444

--- Comment #14 from John Marino <marino at FreeBSD.org> ---
All new ports use modern options and old ports are continually being converted
when the port is touched for other reasons.

example:
X.if ${PORT_OPTIONS:MNOTIFY}
XCMAKE_ARGS+=    -DENABLE_NOTIFICATIONS=on
XLIB_DEPENDS+=    libdbus-1.so:${PORTSDIR}/devel/dbus
X.else
XCMAKE_ARGS+=    -DENABLE_NOTIFICATIONS=off
X.endif

should be

NOTIFY_LIB_DEPENDS+=    libdbus-1.so:${PORTSDIR}/devel/dbus
NOTIFY_CMAKE_ON=    -DENABLE_NOTIFICATIONS=on
NOTIFY_CMAKE_OFF=    -DENABLE_NOTIFICATIONS=off
.include <bsd.port.options.mk>



You can simplify all your options.  
Read /usr/ports/Mk/bsd.port.options.mk if it helps.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list