Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2013 15:51:17 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312066 - head/devel/ucommon
Message-ID:  <201302111551.r1BFpHoV051870@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Feb 11 15:51:16 2013
New Revision: 312066
URL: http://svnweb.freebsd.org/changeset/ports/312066

Log:
  - Fix build on !CURRENT
  
  Reported by:	qat (via decke)

Modified:
  head/devel/ucommon/Makefile

Modified: head/devel/ucommon/Makefile
==============================================================================
--- head/devel/ucommon/Makefile	Mon Feb 11 15:36:55 2013	(r312065)
+++ head/devel/ucommon/Makefile	Mon Feb 11 15:51:16 2013	(r312066)
@@ -12,16 +12,25 @@ COMMENT=	Very lightweight C++ design pat
 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302111551.r1BFpHoV051870>