aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libs11n
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-10-20 19:21:26 +0800
committermarino <marino@FreeBSD.org>2014-10-20 19:21:26 +0800
commitf2960fa74aa73aa6edfbb9c8c42987bf6c6fc3a0 (patch)
treeecf5eebd65d6629f64ff334e8621ac407384ecbe /devel/libs11n
parent9a3fb7c1a00833519a128aff228e176a98efd1aa (diff)
downloadfreebsd-ports-gnome-f2960fa74aa73aa6edfbb9c8c42987bf6c6fc3a0.tar.gz
freebsd-ports-gnome-f2960fa74aa73aa6edfbb9c8c42987bf6c6fc3a0.tar.zst
freebsd-ports-gnome-f2960fa74aa73aa6edfbb9c8c42987bf6c6fc3a0.zip
devel/libs11n: Fix NO_PROFILE support
Diffstat (limited to 'devel/libs11n')
-rw-r--r--devel/libs11n/Makefile5
-rw-r--r--devel/libs11n/pkg-plist10
2 files changed, 6 insertions, 9 deletions
diff --git a/devel/libs11n/Makefile b/devel/libs11n/Makefile
index e3a4bc94f84c..2dde9a17e61c 100644
--- a/devel/libs11n/Makefile
+++ b/devel/libs11n/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libs11n
PORTVERSION= 1.2.10
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/s11n/s11n/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-nobuildfiles
@@ -14,6 +15,10 @@ USES= uidfix zip
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_LDCONFIG= yes
+.if defined(NO_PROFILE)
+PLIST_SUB+= PROFILE="@comment "
+.endif
+
post-extract:
@${CP} ${PATCHDIR}/Makefile.bsd ${WRKSRC}/Makefile
diff --git a/devel/libs11n/pkg-plist b/devel/libs11n/pkg-plist
index ba7ac4a83306..6f002894d2ec 100644
--- a/devel/libs11n/pkg-plist
+++ b/devel/libs11n/pkg-plist
@@ -80,12 +80,4 @@ include/s11n.net/s11n/variant.hpp
lib/libs11n.a
lib/libs11n.so
lib/libs11n.so.1
-lib/libs11n_p.a
-@dirrm include/s11n.net/s11n/proxy/std
-@dirrm include/s11n.net/s11n/proxy/pod
-@dirrm include/s11n.net/s11n/proxy
-@dirrm include/s11n.net/s11n/plugin
-@dirrm include/s11n.net/s11n/nodeutil
-@dirrm include/s11n.net/s11n/io
-@dirrm include/s11n.net/s11n
-@dirrm include/s11n.net
+%%PROFILE%%lib/libs11n_p.a