Lines 22-30
Link Here
|
22 |
USE_GMAKE= YES |
22 |
USE_GMAKE= YES |
23 |
GNU_CONFIGURE= YES |
23 |
GNU_CONFIGURE= YES |
24 |
INSTALLS_SHLIB= YES |
24 |
INSTALLS_SHLIB= YES |
|
|
25 |
PLIST_SUB= PORTVERSION=${PORTVERSION} |
26 |
|
27 |
.include <bsd.port.pre.mk> |
28 |
|
29 |
.if ${OSVERSION} < 500035 |
30 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport |
31 |
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport |
32 |
CXXFLAGS+= -I${LOCALBASE}/include/stlport |
33 |
LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS} |
34 |
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" |
35 |
.endif |
25 |
|
36 |
|
26 |
CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \ |
37 |
CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \ |
27 |
--enable-shared \ |
38 |
--enable-shared \ |
28 |
--with-postgres-include=${LOCALBASE}/include/postgresql |
39 |
--with-postgres-include=${LOCALBASE}/include/postgresql |
29 |
|
40 |
|
30 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.post.mk> |