Fix package build.
This commit is contained in:
parent
30c75f205c
commit
b51c5714ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127081
20
devel/libdict/files/patch-GNUmakefile
Normal file
20
devel/libdict/files/patch-GNUmakefile
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- GNUmakefile.orig
|
||||
+++ GNUmakefile
|
||||
@@ -58,10 +58,10 @@
|
||||
|
||||
install : $(A_LIB) $(P_LIB) $(S_LIB)
|
||||
[ -d $(INCDIR) ] || mkdir -m 755 $(INCDIR)
|
||||
- $(INSTALL) -o $(USER) -g $(GROUP) -m 644 $(HDR) $(INCDIR)
|
||||
- $(INSTALL) -s -o $(USER) -g $(GROUP) -m 644 $(A_LIB) $(LIBDIR)
|
||||
- $(INSTALL) -s -o $(USER) -g $(GROUP) -m 644 $(P_LIB) $(LIBDIR)
|
||||
- $(INSTALL) -s -o $(USER) -g $(GROUP) -m 755 $(S_LIB) $(LIBDIR)/$(SHLIB)
|
||||
+ $(INSTALL) -m 644 $(HDR) $(INCDIR)
|
||||
+ $(INSTALL) -s -m 644 $(A_LIB) $(LIBDIR)
|
||||
+ $(INSTALL) -s -m 644 $(P_LIB) $(LIBDIR)
|
||||
+ $(INSTALL) -s -m 755 $(S_LIB) $(LIBDIR)/$(SHLIB)
|
||||
$(SHELL) -ec 'cd $(LIBDIR) && ln -sf $(SHLIB) $(S_LIB)'
|
||||
|
||||
uninstall :
|
@ -10,12 +10,12 @@ include/dict/rb_tree.h
|
||||
include/dict/sp_tree.h
|
||||
include/dict/tr_tree.h
|
||||
include/dict/wb_tree.h
|
||||
share/doc/libdict/avl_insert.dvi
|
||||
share/doc/libdict/avl_insert.pdf
|
||||
share/doc/libdict/empty.dvi
|
||||
share/doc/libdict/empty.pdf
|
||||
share/doc/libdict/libdict.html
|
||||
share/doc/libdict/treap_insert.dvi
|
||||
share/doc/libdict/treap_insert.pdf
|
||||
@dirrm include/dict
|
||||
@dirrm share/doc/libdict/
|
||||
%%PORTDOCS%%%%DOCSDIR%%/avl_insert.dvi
|
||||
%%PORTDOCS%%%%DOCSDIR%%/avl_insert.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/empty.dvi
|
||||
%%PORTDOCS%%%%DOCSDIR%%/empty.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/libdict.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/treap_insert.dvi
|
||||
%%PORTDOCS%%%%DOCSDIR%%/treap_insert.pdf
|
||||
@dirrm include/dict
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/
|
||||
|
Loading…
Reference in New Issue
Block a user