aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/tinyxml
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-12-13 16:59:09 +0800
committerkris <kris@FreeBSD.org>2004-12-13 16:59:09 +0800
commitbf165b96d90ccf1c6a9a458a95b8cc51d46a2dae (patch)
tree73176bff66ad577909b36480400436948125209e /textproc/tinyxml
parentf47f9ebc29e5eedba69ce23c694284b4e77983eb (diff)
downloadfreebsd-ports-graphics-bf165b96d90ccf1c6a9a458a95b8cc51d46a2dae.tar.gz
freebsd-ports-graphics-bf165b96d90ccf1c6a9a458a95b8cc51d46a2dae.tar.zst
freebsd-ports-graphics-bf165b96d90ccf1c6a9a458a95b8cc51d46a2dae.zip
Deal with the NOPROFILE case too.
Diffstat (limited to 'textproc/tinyxml')
-rw-r--r--textproc/tinyxml/Makefile6
-rw-r--r--textproc/tinyxml/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/textproc/tinyxml/Makefile b/textproc/tinyxml/Makefile
index 83d20e18794..f8eb22f4238 100644
--- a/textproc/tinyxml/Makefile
+++ b/textproc/tinyxml/Makefile
@@ -22,6 +22,12 @@ INSTALLS_SHLIB= YES
SHLIB_MAJOR= 1
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+.if defined(NOPROFILE)
+PLIST_SUB+= PROFILE="@comment "
+.else
+PLIST_SUB+= PROFILE=""
+.endif
+
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
diff --git a/textproc/tinyxml/pkg-plist b/textproc/tinyxml/pkg-plist
index ec4f70b7e17..cf499c47f79 100644
--- a/textproc/tinyxml/pkg-plist
+++ b/textproc/tinyxml/pkg-plist
@@ -3,7 +3,7 @@ include/tinyxml.h
lib/libtinyxml.a
lib/libtinyxml.so
lib/libtinyxml.so.%%SHLIB_MAJOR%%
-lib/libtinyxml_p.a
+%%PROFILE%%lib/libtinyxml_p.a
%%PORTDOCS%%%%DOCSDIR%%/annotated.html
%%PORTDOCS%%%%DOCSDIR%%/classTiXmlAttribute-members.html
%%PORTDOCS%%%%DOCSDIR%%/classTiXmlAttribute.html