svn commit: r312066 - head/devel/ucommon

Pietro Cerutti gahr at FreeBSD.org
Mon Feb 11 15:51:17 UTC 2013


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>


More information about the svn-ports-head mailing list