Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 22:09:47 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314880 - head/devel/libublio
Message-ID:  <201303212209.r2LM9lZc046800@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Thu Mar 21 22:09:47 2013
New Revision: 314880
URL: http://svnweb.freebsd.org/changeset/ports/314880

Log:
  - Attempt to fix pointyhat failure (by checking WITHOUT_PROFILE).
  - Attempt to debug pointyhat failure (by adding a pre-install that prints
    the environment and the makefiles read).
  - Clean up Makefile header.
  - Convert NOPORTDOCS to OptionsNG.

Modified:
  head/devel/libublio/Makefile   (contents, props changed)

Modified: head/devel/libublio/Makefile
==============================================================================
--- head/devel/libublio/Makefile	Thu Mar 21 22:08:45 2013	(r314879)
+++ head/devel/libublio/Makefile	Thu Mar 21 22:09:47 2013	(r314880)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	libublio
-# Date created:				2007-09-10
-# Whom:					alepulver
-#
+# Created by: alepulver
 # $FreeBSD$
-#
 
 PORTNAME=	libublio
 PORTVERSION=	20070103
@@ -16,7 +12,7 @@ COMMENT=	User space caching library
 
 USE_LDCONFIG=	yes
 
-.if defined(NO_PROFILE) || defined(NOPROFILE)
+.if defined(NO_PROFILE) || defined(NOPROFILE) || defined(WITHOUT_PROFILE)
 PLIST_SUB+=	PROFLIB="@comment "
 .else
 PLIST_SUB+=	PROFLIB=""
@@ -25,11 +21,20 @@ PLIST_SUB+=	PROFLIB=""
 SRCCONF=	${NONEXISTENT}
 MAKE_ENV+=	SRCCONF=${SRCCONF}
 
+.include <bsd.port.options.mk>
+
 post-extract:
 	@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
 
+# this pre-install is only for debugging pointyhat failures
+pre-install:
+	@${ECHO_CMD} "===> Environment:"
+	@${SETENV} | ${SETENV} LC_ALL=C ${SORT} -f
+	@${ECHO_CMD} "===> Makefiles used:"
+	@${ECHO_CMD} ${.MAKEFILE_LIST}
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif



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