-
Notifications
You must be signed in to change notification settings - Fork 31
/
bsd.port.mk.diff
447 lines (422 loc) · 17 KB
/
bsd.port.mk.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
--- bsd.port.mk.orig 2024-02-09 23:30:09 UTC
+++ bsd.port.mk
@@ -41,8 +41,9 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# "FreeBSD," "NetBSD," or "OpenBSD" as appropriate.
# OSREL - The release version of the operating system as a text
# string (e.g., "12.4").
-# OSVERSION - The operating system version as a comparable integer;
+# OSVERSION - 9999999 - try to ignore FreeBSD version check
# the value of __FreeBSD_version (e.g., 1302000).
+# DFLYVERSION - The value of __DragonFly_version.
#
# This is the beginning of the list of all variables that need to be
# defined in a port, listed in order that they should be included
@@ -468,6 +469,12 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# Default: ${MASTERDIR}/scripts
# FILESDIR - A directory containing any miscellaneous additional files.
# Default: ${MASTERDIR}/files
+# DFLY_PATCHDIR= - A directory containing additional patches required
+# to build port on DragonFly
+# Default: ${MASTERDIR}/dragonfly
+# DFLY_FILESDIR - A directory containing any miscellaneous files
+# needed to build port on DragonFly
+# Default: ${MASTERDIR}/dragonfly
# PKGDIR - A directory containing any package creation files.
# Default: ${MASTERDIR}
# SRC_BASE - The root of the src tree. (Some ports require this to get
@@ -1020,12 +1027,17 @@ LC_ALL= C
# These need to be absolute since we don't know how deep in the ports
# tree we are and thus can't go relative. They can, of course, be overridden
# by individual Makefiles or local system make configuration.
-_LIST_OF_WITH_FEATURES= debug lto ssp pie relro bind_now
+# TODO(tuxillo): Find out why ssp needs to be removed from the list.
+_LIST_OF_WITH_FEATURES= debug lto pie relro bind_now
_DEFAULT_WITH_FEATURES= ssp
-PORTSDIR?= /usr/ports
+WITH_PKGNG?= yes
+WITHOUT_FBSD10_FIX?= yes
+PORTSDIR?= /usr/dports
+
LOCALBASE?= /usr/local
LINUXBASE?= /compat/linux
-DISTDIR?= ${PORTSDIR}/distfiles
+DISTDIR?= /usr/distfiles
+WRKDIRPREFIX?= /usr/obj/dports
_DISTDIR?= ${DISTDIR}/${DIST_SUBDIR}
INDEXDIR?= ${PORTSDIR}
SRC_BASE?= /usr/src
@@ -1157,6 +1169,10 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]
_OSRELEASE!= ${AWK} -v version=${OSVERSION} 'END { printf("%d.%d-CROSS", version / 100000, version / 1000 % 100) }' < /dev/null
. endif
+# Get the operating system type.
+# tuxillo (02/2021): Not worth saving up some fork cycles, also dsynth
+# sets OPSYS so no point in hardcoding OPSYS, really.
+#
# Get the operating system type
. if !defined(OPSYS)
OPSYS!= ${UNAME} -s
@@ -1164,25 +1180,29 @@ OPSYS!= ${UNAME} -s
_EXPORTED_VARS+= OPSYS
. if !defined(_OSRELEASE)
-_OSRELEASE!= ${UNAME} -r
+. if !defined(.MAKE.DF.OSREL)
+. error make(1) is not defining global variable .MAKE.DF.OSREL . This is a DF specific global variable.
+. endif
+_OSRELEASE= ${.MAKE.DF.OSREL}-DPORTS
. endif
_EXPORTED_VARS+= _OSRELEASE
-# Get the operating system revision
-OSREL?= ${_OSRELEASE:C/-.*//}
-_EXPORTED_VARS+= OSREL
-
# Get __FreeBSD_version
-. if !defined(OSVERSION)
-. if exists(/usr/include/sys/param.h)
-OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < /usr/include/sys/param.h
-. elif exists(${SRC_BASE}/sys/sys/param.h)
-OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC_BASE}/sys/sys/param.h
-. else
-.error Unable to determine OS version. Either define OSVERSION, install /usr/include/sys/param.h or define SRC_BASE.
-. endif
-. endif
+.if !defined(OSVERSION)
+OSVERSION= 9999999
_EXPORTED_VARS+= OSVERSION
+.endif
+
+.if !defined(DFLYVERSION)
+. if defined(.MAKE.DF.OSREL)
+DFLYVERSION= ${.MAKE.DF.VERSION}
+OSREL= ${.MAKE.DF.OSREL}
+. else
+DFLYVERSION!= ${AWK} '/^\#define[[:blank:]]__DragonFly_version/ {print $$3}' < /usr/include/sys/param.h
+OSREL!= ${ECHO} ${DFLYVERSION} | ${AWK} '{a=int($$1/100000); b=int(($$1-(a*100000))/100); print a "." b}'
+. endif
+.endif
+_EXPORTED_VARS+= DFLYVERSION OSREL
. if ${OPSYS} == FreeBSD && (${OSVERSION} < 1302000 )
_UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your ${OPSYS} version has ended, and no ports\
@@ -1201,20 +1221,6 @@ show-unsupported-system-error:
. endif
. endif
-# Convert OSVERSION to major release number
-_OSVERSION_MAJOR= ${OSVERSION:C/([0-9]?[0-9])([0-9][0-9])[0-9]{3}/\1/}
-# Sanity checks for chroot/jail building.
-# Skip if OSVERSION specified on cmdline for testing. Only works for bmake.
-. if !defined(.MAKEOVERRIDES) || !${.MAKEOVERRIDES:MOSVERSION}
-. if ${_OSVERSION_MAJOR} != ${_OSRELEASE:R}
-. if !defined(I_DONT_CARE_IF_MY_BUILDS_TARGET_THE_WRONG_RELEASE)
-.error UNAME_r (${_OSRELEASE}) and OSVERSION (${OSVERSION}) do not agree on major version number.
-. endif
-. elif ${_OSVERSION_MAJOR} != ${OSREL:R}
-.error OSREL (${OSREL}) and OSVERSION (${OSVERSION}) do not agree on major version number.
-. endif
-. endif
-
# Only define tools here (for transition period with between pkg tools)
.include "${PORTSDIR}/Mk/bsd.commands.mk"
@@ -1382,9 +1388,11 @@ PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PK
DISTVERSIONFULL= ${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
DISTNAME?= ${PORTNAME}-${DISTVERSIONFULL}
-INDEXFILE?= INDEX-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}
+INDEXFILE?= INDEX
-PACKAGES?= ${PORTSDIR}/packages
+DFLY_PATCHDIR?= ${PATCHDIR:H}/dragonfly
+DFLY_FILESDIR?= ${FILESDIR:H}/dragonfly
+PACKAGES?= /usr/packages
TEMPLATES?= ${PORTSDIR}/Templates
KEYWORDS?= ${PORTSDIR}/Keywords
WRAPPERSDIR?= ${PORTSDIR}/Mk/Wrappers/
@@ -1670,6 +1678,7 @@ QA_ENV+= USESSHAREDMIMEINFO=yes
. if !empty(USES:Mterminfo)
QA_ENV+= USESTERMINFO=yes
. endif
+QA_ENV+= DFLY_ALLOW_FOREIGN_BINARIES="${DFLY_ALLOW_FOREIGN_BINARIES:Dyes}"
CO_ENV+= STAGEDIR=${STAGEDIR} \
PREFIX=${PREFIX} \
@@ -1697,7 +1706,7 @@ _WRKDIR= work
_WRKDIR= work-${FLAVOR}
. endif
-WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/${_WRKDIR}
+WRKDIR= ${WRKDIRPREFIX}/${.CURDIR:H:T}/${.CURDIR:T}
BINARY_LINKDIR= ${WRKDIR}/.bin
PATH:= ${BINARY_LINKDIR}:${PATH}
. if !${MAKE_ENV:MPATH=*} && !${CONFIGURE_ENV:MPATH=*}
@@ -1779,7 +1788,14 @@ PLIST_SUB_SED?= ${PLIST_SUB_SED_tmp3:C/(
# kludge to strip trailing whitespace from CFLAGS;
# sub-configure will not # survive double space
-CFLAGS:= ${CFLAGS:C/ $//}
+# remove -O from /usr/share/mk/sys.mk and replace with -O2
+# null out WORLD_CFLAGS coming from /etc/make.conf
+WORLD_CCOPTLEVEL:=
+WORLD_CFLAGS:=
+CFLAGS:= ${CFLAGS:C/ $//:N-O}
+.if !${CFLAGS:M-O*}
+CFLAGS+= -O2
+.endif
. if defined(WITHOUT_CPU_CFLAGS)
. if defined(_CPUCFLAGS)
@@ -1810,21 +1826,6 @@ MAKE_ENV+= SHELL=${MAKE_SHELL} NO_LINT=
PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:archivers/unzip
. endif
-# Check the compatibility layer for amd64
-
-. if ${ARCH} == "amd64"
-. if exists(/usr/lib32)
-HAVE_COMPAT_IA32_LIBS?= YES
-. endif
-. if !defined(HAVE_COMPAT_IA32_KERN)
-HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi; echo
-. if empty(HAVE_COMPAT_IA32_KERN)
-.undef HAVE_COMPAT_IA32_KERN
-. endif
-. endif
-. endif
-_EXPORTED_VARS+= HAVE_COMPAT_IA32_KERN
-
. if defined(IA32_BINARY_PORT) && ${ARCH} != "i386"
. if ${ARCH} == "amd64"
. if !defined(HAVE_COMPAT_IA32_KERN)
@@ -1850,9 +1851,28 @@ PKG_ORIGIN= ports-mgmt/pkg-devel
PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PKG_ORIGIN}
. endif
-. if defined(USE_GCC)
-.include "${PORTSDIR}/Mk/bsd.gcc.mk"
-. endif
+.if defined(USE_CLANG_FALLBACK)
+. if ${USE_CLANG_FALLBACK:Mdefault}
+BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
+CC=clang${LLVM_DEFAULT}
+CXX=clang++${LLVM_DEFAULT}
+CPP=clang-cpp${LLVM_DEFAULT}
+. else
+BUILD_DEPENDS+= clang${USE_CLANG_FALLBACK}:devel/llvm${USE_CLANG_FALLBACK}
+CC=clang${USE_CLANG_FALLBACK}
+CXX=clang++${USE_CLANG_FALLBACK}
+CPP=clang-cpp${USE_CLANG_FALLBACK}
+. endif
+.else
+.if defined(USE_GCC) || defined(USE_GCC_VERSION)
+.include "${PORTSDIR}/Mk/bsd.df.gcc.mk"
+.else
+. if !defined(USE_GNUSTEP)
+CONFIGURE_ENV+= CCVER=gcc80
+MAKE_ENV+= CCVER=gcc80
+. endif
+.endif
+.endif
. if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
LDFLAGS+= -fuse-ld=bfd
@@ -1869,7 +1889,7 @@ USE_BINUTILS= yes
. endif
. if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS)
-BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
+BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils@native
BINUTILS?= ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \
READELF SIZE STRINGS
BINUTILS_NO_MAKE_ENV?=
@@ -2023,8 +2043,10 @@ DISTINFO_FILE?= ${MASTERDIR}/distinfo
MAKE_FLAGS?= -f
MAKEFILE?= Makefile
MAKE_CMD?= ${BSDMAKE}
+PLIST_SUB:= ${PLIST_SUB:NPROFILE=*} PROFILE="@comment "
MAKE_ENV+= PREFIX=${PREFIX} \
LOCALBASE=${LOCALBASE} \
+ NOPROFILE=1 \
CC="${CC}" CFLAGS="${CFLAGS}" \
CPP="${CPP}" CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \
@@ -2061,7 +2083,7 @@ MAKE_JOBS_NUMBER= 1
_MAKE_JOBS_NUMBER:= ${MAKE_JOBS_NUMBER}
. else
. if !defined(_SMP_CPUS)
-_SMP_CPUS!= ${NPROC} 2>/dev/null || ${SYSCTL} -n kern.smp.cpus
+_SMP_CPUS!= ${SYSCTL} -n hw.ncpu
. endif
_EXPORTED_VARS+= _SMP_CPUS
_MAKE_JOBS_NUMBER= ${_SMP_CPUS}
@@ -2442,7 +2464,8 @@ PATCH_SITES_TMP=
# The primary backup site.
MASTER_SITE_BACKUP?= \
- http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/
+ http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/ \
+ http://avalon.dragonflybsd.org/misc/distfiles/${DIST_SUBDIR}/
MASTER_SITE_BACKUP:= ${MASTER_SITE_BACKUP:S^\${DIST_SUBDIR}/^^}
# If the user has MASTER_SITE_FREEBSD set, go to the FreeBSD repository
@@ -2739,6 +2762,8 @@ SET_LATE_CONFIGURE_ARGS= \
SCRIPTS_ENV+= CURDIR=${MASTERDIR} DISTDIR=${DISTDIR} \
WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} PATCHDIR=${PATCHDIR} \
SCRIPTDIR=${SCRIPTDIR} FILESDIR=${FILESDIR} \
+ DFLY_PATCHDIR=${DFLY_PATCHDIR} \
+ DFLY_FILESDIR=${DFLY_FILESDIR} \
PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
. if defined(BATCH)
@@ -2817,7 +2842,7 @@ DESKTOPDIR?= ${PREFIX}/share/applicatio
# Check the machine architectures
. if defined(ONLY_FOR_ARCHS)
-. for __ARCH in ${ONLY_FOR_ARCHS}
+. for __ARCH in ${ONLY_FOR_ARCHS:S/amd64/x86_64/}
. if ${ARCH:M${__ARCH}} != ""
__ARCH_OK?= 1
. endif
@@ -2827,7 +2852,7 @@ __ARCH_OK?= 1
. endif
. if defined(NOT_FOR_ARCHS)
-. for __NARCH in ${NOT_FOR_ARCHS}
+. for __NARCH in ${NOT_FOR_ARCHS:S/amd64/x86_64/}
. if ${ARCH:M${__NARCH}} != ""
.undef __ARCH_OK
. endif
@@ -2836,9 +2861,9 @@ __ARCH_OK?= 1
. if !defined(__ARCH_OK)
. if defined(ONLY_FOR_ARCHS)
-IGNORE= is only for ${ONLY_FOR_ARCHS:O},
+IGNORE= is only for ${ONLY_FOR_ARCHS:O:S/amd64/x86_64/},
. else # defined(NOT_FOR_ARCHS)
-IGNORE= does not run on ${NOT_FOR_ARCHS:O},
+IGNORE= does not run on ${NOT_FOR_ARCHS:O:S/amd64/x86_64/},
. endif
IGNORE+= while you are running ${ARCH}
@@ -2907,6 +2932,14 @@ IGNORE= is marked as broken on ${OPSYS}
IGNORE= is forbidden: ${FORBIDDEN}
. endif
+# sting filtering support
+.if defined(DFLY_STING_XFAIL) && exists(${.CURDIR}/dragonfly/XFAIL)
+. include "${.CURDIR}/dragonfly/XFAIL"
+. if defined(XFAIL_${OPSYS})
+IGNORE= XFAIL: ${XFAIL_${OPSYS}}
+. endif
+.endif
+
# Define the text to be output to LEGAL
. if defined(LEGAL_TEXT)
LEGAL= ${LEGAL_TEXT}
@@ -2992,6 +3025,7 @@ all:
DISTDIR=${DISTDIR} WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} \
PATCHDIR=${PATCHDIR} SCRIPTDIR=${SCRIPTDIR} \
FILESDIR=${FILESDIR} PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} \
+ DFLY_PATCHDIR=${DFLY_PATCHDIR} DFLY_FILESDIR=${DFLY_FILESDIR} \
BUILD_DEPENDS="${BUILD_DEPENDS}" RUN_DEPENDS="${RUN_DEPENDS}" \
CONFLICTS="${CONFLICTS}" \
${ALL_HOOK}
@@ -3266,6 +3300,7 @@ do-patch:
dp_OPSYS="${OPSYS}" \
dp_PATCH="${PATCH}" \
dp_PATCHDIR="${PATCHDIR}" \
+ dp_DFLY_PATCHDIR="${DFLY_PATCHDIR}" \
dp_PATCHFILES="${_PATCHFILES2}" \
dp_PATCH_ARGS=${PATCH_ARGS:Q} \
dp_PATCH_DEBUG_TMP="${PATCH_DEBUG_TMP}" \
@@ -3348,6 +3383,14 @@ do-configure:
DO_MAKE_BUILD?= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:N${DESTDIRNAME}=*}
. if !target(do-build)
do-build:
+.if defined(DFLY_ALLOW_REMAKE)
+ @(cd ${BUILD_WRKSRC}; ${ECHO_CMD} "===> Building with DFLY_ALLOW_REMAKE=${DFLY_ALLOW_REMAKE}" ; \
+ if ! ${DO_MAKE_BUILD} ${ALL_TARGET}; then \
+ (${ECHO_CMD} "===> DFLY WARNING: First attempt failed! Retrying ... ${DFLY_ALLOW_REMAKE}") | ${FMT_80} ; \
+ else \
+ (${ECHO_CMD} "===> DFLY Built from first attempt? ${DFLY_ALLOW_REMAKE}") | ${FMT_80} ; \
+ fi)
+.endif
@(cd ${BUILD_WRKSRC}; if ! ${DO_MAKE_BUILD} ${ALL_TARGET}; then \
if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \
${ECHO_MSG} "===> Compilation failed unexpectedly."; \
@@ -3868,6 +3911,7 @@ do-clean:
@if [ -d ${WRKDIR} ]; then \
if [ -w ${WRKDIR} ]; then \
${RM} -r ${WRKDIR}; \
+ ${FIND} ${WRKDIR:H} -type d -maxdepth 1 -empty -delete; \
else \
${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \
fi; \
@@ -4235,7 +4279,7 @@ FETCH_LIST?= for i in $$deps; do \
else \
continue; \
fi;; \
- *) if [ -d ${PKG_DBDIR}/$$(cd $$dir; ${MAKE} -V PKGNAME) ]; then \
+ *) if [ -d ${PKG_DBDIR}/$$(cd $$dir; ${MAKE} -V '$${PKGNAME}') ]; then \
continue; \
fi;; \
esac; \
@@ -4641,10 +4685,15 @@ _SUB_LIST_TEMP= ${SUB_LIST:S/$/!g/:S/^/
. if !target(apply-slist) && defined(SUB_FILES)
apply-slist:
. for file in ${SUB_FILES}
-. if !exists(${FILESDIR}/${file}.in)
- @${ECHO_MSG} "** Missing ${FILESDIR}/${file}.in for ${PKGNAME}."; exit 1
-. else
+. if exists(${FILESDIR}/${file}.in)
@${SED} ${_SUB_LIST_TEMP} -e '/^@comment /d' ${FILESDIR}/${file}.in > ${WRKDIR}/${file}
+. elif exists(${DFLY_FILESDIR}/${file}.in)
+ @${SED} ${_SUB_LIST_TEMP} -e '/^@comment /d' ${DFLY_FILESDIR}/${file}.in > ${WRKDIR}/${file}
+. else
+ @${ECHO_MSG} "** Checked ${FILESDIR}:"; \
+ @${ECHO_MSG} "** Checked ${DFLY_FILESDIR}:"; \
+ @${ECHO_MSG} "** Missing ${file}.in for ${PKGNAME}."; \
+ exit 1
. endif
. endfor
. for i in pkg-message pkg-install pkg-deinstall pkg-req
@@ -5439,26 +5488,26 @@ _SANITY_SEQ= 050:post-chroot 100:pre-eve
350:check-desktop-entries 400:check-depends \
500:check-deprecated \
550:check-vulnerable 600:check-license 650:check-config \
- 700:buildanyway-message 750:options-message ${_USES_sanity}
+ 700:buildanyway-message 750:options-message 780:dfly-sanity ${_USES_sanity}
_PKG_DEP= check-sanity
_PKG_SEQ= 500:pkg-depends
_FETCH_DEP= pkg
_FETCH_SEQ= 150:fetch-depends 300:pre-fetch 450:pre-fetch-script \
500:do-fetch 550:fetch-specials 700:post-fetch \
- 850:post-fetch-script \
+ 850:post-fetch-script 880:dfly-fetch \
${_OPTIONS_fetch} ${_USES_fetch}
_EXTRACT_DEP= fetch
_EXTRACT_SEQ= 010:check-build-conflicts 050:extract-message 100:checksum \
150:extract-depends 190:clean-wrkdir 200:${EXTRACT_WRKDIR} \
300:pre-extract 450:pre-extract-script 500:do-extract \
- 700:post-extract 850:post-extract-script \
+ 700:post-extract 850:post-extract-script 880:dfly-extract \
999:extract-fixup-modes \
${_OPTIONS_extract} ${_USES_extract} ${_SITES_extract}
_PATCH_DEP= extract
_PATCH_SEQ= 050:ask-license 100:patch-message 150:patch-depends \
300:pre-patch 450:pre-patch-script 500:do-patch \
- 700:post-patch 850:post-patch-script \
+ 700:post-patch 850:post-patch-script 880:dfly-patch \
${_OPTIONS_patch} ${_USES_patch}
_CONFIGURE_DEP= patch
_CONFIGURE_SEQ= 150:build-depends 151:lib-depends 160:create-binary-alias \
@@ -5466,11 +5515,11 @@ _CONFIGURE_SEQ= 150:build-depends 151:li
200:configure-message 210:apply-slist \
300:pre-configure 450:pre-configure-script \
490:run-autotools-fixup 500:do-configure 700:post-configure \
- 850:post-configure-script \
+ 850:post-configure-script 880:dfly-configure \
${_OPTIONS_configure} ${_USES_configure}
_BUILD_DEP= configure
_BUILD_SEQ= 100:build-message 300:pre-build 450:pre-build-script \
- 500:do-build 700:post-build 850:post-build-script \
+ 500:do-build 700:post-build 850:post-build-script 880:dfly-build \
${_OPTIONS_build} ${_USES_build}
_STAGE_DEP= build
# STAGE is special in its numbering as it has install and stage, so install is
@@ -5479,7 +5528,7 @@ _STAGE_SEQ= 050:stage-message 100:stage
300:pre-install \
400:generate-plist 450:pre-su-install 475:create-users-groups \
500:do-install 550:kmod-post-install 600:fixup-lib-pkgconfig 700:post-install \
- 750:post-install-script 800:post-stage 850:compress-man \
+ 750:post-install-script 780:dfly-install 800:post-stage 850:compress-man \
860:install-rc-script 870:install-ldconfig-file \
880:install-license 890:install-desktop-entries \
900:add-plist-info 910:add-plist-docs 920:add-plist-examples \
@@ -5493,7 +5542,7 @@ stage-qa: stage
. endif
_TEST_DEP= stage
_TEST_SEQ= 100:test-message 150:test-depends 300:pre-test 500:do-test \
- 800:post-test \
+ 800:post-test 880:dfly-test \
${_OPTIONS_test} ${_USES_test}
_INSTALL_DEP= stage
_INSTALL_SEQ= 100:install-message \