huo-ju / photoprism-freebsd-port

The photoprism port for FreeBSD
BSD 2-Clause "Simplified" License
69 stars 15 forks source link

Malformed conditional at "make config" #9

Closed nikkischnelle closed 3 years ago

nikkischnelle commented 3 years ago

When trying to install in a TrueNas Jail(Version 12.1-Release-p13 as well as Version 12.2-Release-p2) I get the error make: "/usr/share/mk/bsd.port.mk" line 32: Cannot open /usr/ports/Mk/bsd.port.mk make: "/photoprism-freebsd-port/Makefile" line 44: Malformed conditional (${OPSYS} == FreeBSD && ${OSVERSION} > 1100000 && ${OSVERSION} < 1200000)

after the 'make config' command.

huo-ju commented 3 years ago

The make can't find your bsd.port.mk, and I think you need full ports tree for build it.

nikkischnelle commented 3 years ago

I fixed my bsd.port.mk and still get the error: make: "/photoprism-freebsd-port/Makefile" line 44: Malformed conditional (${OPSYS} == FreeBSD && ${OSVERSION} > 1100000 && ${OSVERSION} < 1200000) make: Fatal errors encountered -- cannot continue make: stopped in /photoprism-freebsd-port

huo-ju commented 3 years ago

Can you provide me the output of make -V OPSYS and make -V OSVERSION? Run the command under /photoprism-freebsd-port dir. Thanks.