diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2013-02-11 15:51:16 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2013-02-11 15:51:16 +0000 |
commit | 782834a02e28853b1970f083c94d703e00a19123 (patch) | |
tree | acc1f50f36241aa8df1633e17e48065081d0b666 | |
parent | Update to 0.4.0 (diff) |
- Fix build on !CURRENT
Reported by: qat (via decke)
Notes
Notes:
svn path=/head/; revision=312066
-rw-r--r-- | devel/ucommon/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/devel/ucommon/Makefile b/devel/ucommon/Makefile index 452e641b3b2a..66b772df16bf 100644 --- a/devel/ucommon/Makefile +++ b/devel/ucommon/Makefile @@ -12,16 +12,25 @@ COMMENT= Very lightweight C++ design pattern library LICENSE= LGPL3 -USE_GNOME= pkgconfig gnomehack +USE_GNOME= gnomehack USE_LDCONFIG= yes +USE_PKGCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--bindir=${PREFIX}/bin/${PORTNAME} MAN1= args.1 car.1 commoncpp-config.1 mdsum.1 pdetach.1 \ scrub-files.1 sockaddr.1 ucommon-config.1 zerofill.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 10000 +post-patch: + ${REINPLACE_CMD} -e '/HAVE_OPENSSL_FIPS_H/s/define/undef/' \ + ${WRKSRC}/${CONFIGURE_SCRIPT} + +.endif + regression-test: build cd ${WRKSRC}/test && ${MAKE} check - -.include <bsd.port.mk> +.include <bsd.port.post.mk> |