summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/librest/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/devel/librest/Makefile b/devel/librest/Makefile
index 6df85bb69a0d..86e04c3fbd39 100644
--- a/devel/librest/Makefile
+++ b/devel/librest/Makefile
@@ -13,27 +13,24 @@ LICENSE= LGPL21
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
-LIB_DEPENDS= soup-gnome-2.4:${PORTSDIR}/devel/libsoup-gnome
+LIB_DEPENDS= libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
-USES= pkgconfig
+USES= pkgconfig gmake
USE_XZ= yes
-USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GNOME= gnomehack glib20 intlhack libxml2
+MAKE_ENV= GI_SCANNER_DISABLE_CACHE=yes
CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt
PORTEXAMPLES= *.c
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= EXAMPLES
-.if ${PORT_OPTIONS:MEXAMPLES}
post-install:
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>