|
Lines 18-24
Link Here
|
| 18 |
libgmp.so:${PORTSDIR}/math/gmp |
18 |
libgmp.so:${PORTSDIR}/math/gmp |
| 19 |
RUN_DEPENDS= ${LOCALBASE}/share/postgresql/contrib/postgis-2.1/postgis.sql:${PORTSDIR}/databases/postgis21 |
19 |
RUN_DEPENDS= ${LOCALBASE}/share/postgresql/contrib/postgis-2.1/postgis.sql:${PORTSDIR}/databases/postgis21 |
| 20 |
|
20 |
|
| 21 |
USES= cmake pgsql pkgconfig |
21 |
USES= compiler:features cmake pgsql pkgconfig |
| 22 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
| 23 |
|
23 |
|
| 24 |
CFLAGS+= -I${LOCALBASE}/include |
24 |
CFLAGS+= -I${LOCALBASE}/include |
|
Lines 26-31
Link Here
|
| 26 |
|
26 |
|
| 27 |
.include <bsd.port.pre.mk> |
27 |
.include <bsd.port.pre.mk> |
| 28 |
|
28 |
|
|
|
29 |
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 36 |
| 30 |
BUILD_DEPENDS+= clang36:${PORTSDIR}/lang/clang36 |
| 31 |
CPP= clang-cpp36 |
| 32 |
CC= clang36 |
| 33 |
CXX= clang++36 |
| 34 |
.endif |
| 35 |
|
| 29 |
.if ${PGSQL_VER} >= 9.1 |
36 |
.if ${PGSQL_VER} >= 9.1 |
| 30 |
PLIST_SUB+= OLDPG="@comment " NEWPG="" |
37 |
PLIST_SUB+= OLDPG="@comment " NEWPG="" |
| 31 |
|
38 |
|