summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2005-01-25 01:55:58 +0000
committerijliao <ijliao@FreeBSD.org>2005-01-25 01:55:58 +0000
commit1779e7b34851911441adb4cf5fa5d2cd2b9ee60b (patch)
tree011a424f587e917c26a6d97089e8ebd0b22b656a /devel
parentb1efd08a007955bd4072ca29393eb2ce2c84eba3 (diff)
downloadFreeBSD-ports-1779e7b34851911441adb4cf5fa5d2cd2b9ee60b.zip
FreeBSD-ports-1779e7b34851911441adb4cf5fa5d2cd2b9ee60b.tar.gz
respect CFLAGS
fix PLIST
Diffstat (limited to 'devel')
-rw-r--r--devel/ustl/Makefile10
-rw-r--r--devel/ustl/pkg-plist48
2 files changed, 9 insertions, 49 deletions
diff --git a/devel/ustl/Makefile b/devel/ustl/Makefile
index fa6235d..9bc0862 100644
--- a/devel/ustl/Makefile
+++ b/devel/ustl/Makefile
@@ -25,9 +25,17 @@ HAS_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= # empty
+PLIST_FILES= lib/libustl.a
+
post-patch:
@${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash," ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|SIZE_MAX|UINT_MAX|" ${WRKSRC}/memblock.h
- @${REINPLACE_CMD} -e "s|-Werror||" ${WRKSRC}/Common.mk.in
+ @${REINPLACE_CMD} -e "s|-Werror||;s|-O3||" ${WRKSRC}/Common.mk.in
+
+post-install:
+ @${FIND} ${PREFIX}/include/ustl* ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/include/ustl* -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/devel/ustl/pkg-plist b/devel/ustl/pkg-plist
deleted file mode 100644
index 80ec615..0000000
--- a/devel/ustl/pkg-plist
+++ /dev/null
@@ -1,48 +0,0 @@
-include/ustl/cmemlink.h
-include/ustl/config.h
-include/ustl/fdostream.h
-include/ustl/memblock.h
-include/ustl/memlink.h
-include/ustl/mistream.h
-include/ustl/mostream.h
-include/ustl/simd.h
-include/ustl/sistream.h
-include/ustl/sostream.h
-include/ustl/strmsize.h
-include/ustl/ualgo.h
-include/ustl/ualgobase.h
-include/ustl/ubitset.h
-include/ustl/uctralgo.h
-include/ustl/uexception.h
-include/ustl/ufunction.h
-include/ustl/uios.h
-include/ustl/uiosfunc.h
-include/ustl/uiterator.h
-include/ustl/ulaalgo.h
-include/ustl/ulimits.h
-include/ustl/ulist.h
-include/ustl/umap.h
-include/ustl/umatrix.h
-include/ustl/umemory.h
-include/ustl/umultimap.h
-include/ustl/umultiset.h
-include/ustl/unew.h
-include/ustl/unumeric.h
-include/ustl/upair.h
-include/ustl/upredalgo.h
-include/ustl/uqueue.h
-include/ustl/uset.h
-include/ustl/uspecial.h
-include/ustl/ustack.h
-include/ustl/ustdxept.h
-include/ustl/ustl.h
-include/ustl/ustl.tbff
-include/ustl/ustring.h
-include/ustl/utf8.h
-include/ustl/utuple.h
-include/ustl/utypes.h
-include/ustl/uutility.h
-include/ustl/uvector.h
-@dirrm include/ustl
-include/ustl.h
-lib/libustl.a
OpenPOWER on IntegriCloud