File tree Expand file tree Collapse file tree 2 files changed +27
-9
lines changed Expand file tree Collapse file tree 2 files changed +27
-9
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ bashcomp_DATA = 2to3 \
120
120
firefox \
121
121
flake8 \
122
122
_flamegraph \
123
- freebsd-update \
124
123
freeciv \
125
124
freeciv-server \
126
125
function \
@@ -215,8 +214,6 @@ bashcomp_DATA = 2to3 \
215
214
_keyring \
216
215
kill \
217
216
killall \
218
- kldload \
219
- kldunload \
220
217
koji \
221
218
_kontena \
222
219
ktutil \
@@ -324,7 +321,6 @@ bashcomp_DATA = 2to3 \
324
321
_pipenv \
325
322
pkg-config \
326
323
pkg-get \
327
- pkg_delete \
328
324
pkgadd \
329
325
pkgrm \
330
326
pkgtool \
@@ -333,9 +329,6 @@ bashcomp_DATA = 2to3 \
333
329
pm-is-supported \
334
330
pm-powersave \
335
331
pngfix \
336
- portinstall \
337
- portsnap \
338
- portupgrade \
339
332
postcat \
340
333
postconf \
341
334
postfix \
@@ -507,6 +500,21 @@ if SOLARIS
507
500
bashcomp_DATA += pkgutil
508
501
endif
509
502
503
+ if BSD
504
+ bashcomp_DATA += pkg_delete
505
+ endif
506
+
507
+ if FREEBSD
508
+ bashcomp_DATA += \
509
+ freebsd-update \
510
+ kldload \
511
+ kldunload \
512
+ portinstall \
513
+ portsnap \
514
+ portupgrade
515
+ endif
516
+
517
+
510
518
EXTRA_DIST = $(bashcomp_DATA )
511
519
512
520
CLEANFILES = \
@@ -770,8 +778,6 @@ CLEANFILES = \
770
778
ping4 \
771
779
ping6 \
772
780
_pip3 \
773
- pkg_deinstall \
774
- pkg_info \
775
781
pkgconf \
776
782
pkill \
777
783
plzip \
@@ -1159,8 +1165,10 @@ symlinks: $(DATA)
1159
1165
_black _blackd _flask _httpx
1160
1166
$(ss ) pkg-config \
1161
1167
pkgconf
1168
+ if BSD
1162
1169
$(ss) pkg_delete \
1163
1170
pkg_deinstall pkg_info
1171
+ endif
1164
1172
$(ss) pgrep \
1165
1173
pkill
1166
1174
$(ss) pm-hibernate \
Original file line number Diff line number Diff line change 14
14
15
15
AC_CANONICAL_HOST
16
16
17
+ build_bsd=
18
+ build_freebsd=
17
19
build_solaris=
18
20
case ${host_os} in
21
+ *bsd*)
22
+ build_bsd=yes
23
+ case ${host_os} in
24
+ *freebsd*)
25
+ build_freebsd=yes ;;
26
+ esac ;;
19
27
*solaris*)
20
28
build_solaris=yes ;;
21
29
esac
22
30
31
+ AM_CONDITIONAL([ BSD] , [ test "${build_bsd}" = yes] )
32
+ AM_CONDITIONAL([ FREEBSD] , [ test "${build_freebsd}" = yes] )
23
33
AM_CONDITIONAL([ SOLARIS] , [ test "${build_solaris}" = yes] )
24
34
25
35
AC_CONFIG_FILES ( [
You can’t perform that action at this time.
0 commit comments