diff options
author | gahr <gahr@FreeBSD.org> | 2013-02-11 23:51:16 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-02-11 23:51:16 +0800 |
commit | ff7c810c1f7523888c2bb5987f53fa1d84ab7c1b (patch) | |
tree | acc1f50f36241aa8df1633e17e48065081d0b666 /devel | |
parent | 7d13c480d7c6e2bb8d1fdb202366f190c5b58d21 (diff) | |
download | freebsd-ports-gnome-ff7c810c1f7523888c2bb5987f53fa1d84ab7c1b.tar.gz freebsd-ports-gnome-ff7c810c1f7523888c2bb5987f53fa1d84ab7c1b.tar.zst freebsd-ports-gnome-ff7c810c1f7523888c2bb5987f53fa1d84ab7c1b.zip |
- Fix build on !CURRENT
Reported by: qat (via decke)
Diffstat (limited to 'devel')
-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> |