Lines 1-7
Link Here
|
1 |
PORTNAME= ja2 |
1 |
PORTNAME= ja2 |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 0.20.0 |
3 |
DISTVERSION= 0.20.0 |
4 |
PORTREVISION= 5 |
4 |
PORTREVISION= 6 |
5 |
CATEGORIES= games |
5 |
CATEGORIES= games |
6 |
|
6 |
|
7 |
MAINTAINER= timp87@gmail.com |
7 |
MAINTAINER= timp87@gmail.com |
Lines 25-31
BUILD_DEPENDS= string_theory>=3.1:devel/string_theory \
Link Here
|
25 |
miniaudio>=0.11.9:audio/miniaudio |
25 |
miniaudio>=0.11.9:audio/miniaudio |
26 |
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk |
26 |
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk |
27 |
|
27 |
|
28 |
USES= cargo cmake compiler:c++17-lang pkgconfig sdl xorg gl lua:53 |
28 |
USES= cargo cmake compiler:c++17-lang pkgconfig sdl xorg gl lua:53+ |
29 |
USE_GITHUB= yes |
29 |
USE_GITHUB= yes |
30 |
GH_ACCOUNT= ja2-stracciatella |
30 |
GH_ACCOUNT= ja2-stracciatella |
31 |
GH_PROJECT= ja2-stracciatella |
31 |
GH_PROJECT= ja2-stracciatella |
Lines 176-192
post-install:
Link Here
|
176 |
|
176 |
|
177 |
.include <bsd.port.pre.mk> |
177 |
.include <bsd.port.pre.mk> |
178 |
|
178 |
|
179 |
# Compilation with clang's broken in 14-CURRENT |
179 |
.if ${OSVERSION} >= 1400000 && ${ARCH} == "i386" |
180 |
.if ${OSVERSION} >= 1400000 |
180 |
CXXFLAGS+= -Wno-error=enum-constexpr-conversion |
181 |
# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236344 |
|
|
182 |
# Copy-pasted gcc-c++11-lib from Mk/Uses/compiler.mk |
183 |
USE_GCC= yes |
184 |
CHOSEN_COMPILER_TYPE= gcc |
185 |
CXXFLAGS+= -nostdinc++ -isystem /usr/include/c++/v1 |
186 |
LDFLAGS+= -L${WRKDIR} |
187 |
_USES_configure+= 200:gcc-libc++-configure |
188 |
gcc-libc++-configure: |
189 |
@${LN} -fs /usr/lib/libc++.so ${WRKDIR}/libstdc++.so |
190 |
.endif |
181 |
.endif |
191 |
|
182 |
|
192 |
.include <bsd.port.post.mk> |
183 |
.include <bsd.port.post.mk> |