-
Notifications
You must be signed in to change notification settings - Fork 7
/
ghostscript
678 lines (634 loc) · 14.1 KB
/
ghostscript
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
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
# Buildsheet autogenerated by ravenadm tool -- Do not edit.
NAMEBASE= ghostscript
VERSION= 10.03.1
KEYWORDS= print
VARIANTS= std
SDESC[std]= Postscript and PDF Rendering Engine
HOMEPAGE= https://www.ghostscript.com/
CONTACT= nobody
DOWNLOAD_GROUPS= main
SITES[main]= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10031/
DISTFILE[1]= ghostscript-10.03.1.tar.xz:main
DF_INDEX= 1
SPKGS[std]= set
primary
x11
man
docs
OPTIONS_AVAILABLE= none
OPTIONS_STANDARD= none
BUILD_DEPENDS= xorg-sm:dev:std
xorg-sm:primary:std
xorg-xt:dev:std
xorg-xt:primary:std
xorg-ice:dev:std
xorg-ice:primary:std
xorg-x11:dev:std
xorg-x11:primary:std
xorg-xext:dev:std
xorg-xext:primary:std
libpaper:dev:std
poppler-data:dev:std
openjpeg:dev:std
cups:dev:std
libidn:dev:std
jbig2dec:dev:std
BUILDRUN_DEPENDS= jbig2dec:primary:std
openjpeg:primary:std
libpaper:primary:std
cups:tools:std
libidn:primary:std
RUN_DEPENDS= poppler-data:primary:std
EXRUN[x11]= xorg-sm:primary:std
xorg-xt:primary:std
xorg-ice:primary:std
xorg-x11:primary:std
xorg-xext:primary:std
USES= cpe gmake png jpeg tiff iconv fontconfig pkgconfig
zlib
DISTNAME= ghostscript-10.03.1
LICENSE= AGPLv3+:primary
LICENSE_TERMS= primary:{{WRKSRC}}/LICENSE
LICENSE_FILE= AGPLv3+:{{WRKSRC}}/doc/COPYING
LICENSE_SCHEME= solo
CPE_PRODUCT= ghostscript
CPE_VENDOR= artifex
FPC_EQUIVALENT= print/ghostscript9-agpl-base
MUST_CONFIGURE= gnu
CONFIGURE_ARGS= --disable-compile-inits
--disable-dbus
--disable-gtk
--enable-contrib
--enable-dynamic
--enable-fontconfig
--enable-freetype
--enable-openjpeg
--enable-cups
--with-drivers=ALL
--with-fontpath={{LOCALBASE}}/share/fonts
--with-jbig2dec
--with-libiconv=yes
--with-libidn
--with-ijs=no
--with-libpaper
--with-system-libtiff
--with-x
--disable-hidden-visibility
CONFIGURE_ENV= LIBS=-Wl,-rpath,{{PREFIX}}/lib
BUILD_TARGET= so ./obj/X11.so
INSTALL_TARGET= soinstall install-shared
INSTALL_REQ_TOOLCHAIN= yes
SOVERSION= 10.03
PLIST_SUB= GV=10.03.1
VAR_OPSYS[sunos]= CPPFLAGS=-D_XOPEN_SOURCE=600
CPPFLAGS=-D__EXTENSIONS__
post-patch:
${RM} -r ${WRKSRC}/freetype \
${WRKSRC}/ijs \
${WRKSRC}/jbig2dec \
${WRKSRC}/jpeg \
${WRKSRC}/libpng \
${WRKSRC}/openjpeg \
${WRKSRC}/zlib
${FIND} ${WRKSRC}/Resource/Init -name "*.orig" -delete
post-install:
${MV} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gs
${RM} ${STAGEDIR}${PREFIX}/bin/gsx
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gs
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgs.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ghostscript/10.03.1/X11.so
${MKDIR} ${STAGEDIR}${PREFIX}/share/color/icc \
${STAGEDIR}${PREFIX}/share/cmap
${MV} ${STAGEDIR}${PREFIX}/share/ghostscript/10.03.1/iccprofiles \
${STAGEDIR}${PREFIX}/share/color/icc/ghostscript
${LN} -s ../../color/icc/ghostscript \
${STAGEDIR}${PREFIX}/share/ghostscript/10.03.1/iccprofiles
${MV} ${STAGEDIR}${PREFIX}/share/ghostscript/10.03.1/Resource/CMap/Identity* \
${STAGEDIR}${PREFIX}/share/cmap
${RM} -r ${STAGEDIR}${PREFIX}/share/ghostscript/10.03.1/Resource/CMap
${LN} -s ../../../cmap \
${STAGEDIR}${PREFIX}/share/ghostscript/10.03.1/Resource/CMap
${RM} ${STAGEDIR}${STD_DOCDIR}/10.03.1/COPYING
[FILE:609:descriptions/desc.primary]
Ghostscript is a high-performance Postscript and PDF interpreter and
rendering engine with the most comprehensive set of page description
languages (PDL's) on the market today and technology conversion
capabilities covering PDF, PostScript, PCL and XPS languages.
Ghostscript has been under active development for over 20 years, and
offers an extremely versatile feature set and can be deployed across
a wide range of platforms, modules, end uses (embedding in hardware,
as an engine in document management systems, providing cloud solution
integration and as an engine in leading PDF generators and tools).
[FILE:62:descriptions/desc.x11]
This package contains the x11 support library of ghostscript.
[FILE:105:distinfo]
157212edc96b8ccc409475dce2e49833fb4427f150c455258ded9632c106abee 68048612 ghostscript-10.03.1.tar.xz
[FILE:4754:manifests/plist.primary]
bin/
dvipdf
eps2eps
gs
gsbj
gsdj
gsdj500
gslj
gslp
gsnd
lprsetup.sh
pdf2dsc
pdf2ps
pf2afm
pfbtopfa
pphs
printafm
ps2ascii
ps2epsi
ps2pdf
ps2pdf12
ps2pdf13
ps2pdf14
ps2pdfwr
ps2ps
ps2ps2
unix-lpr.sh
include/ghostscript/
gdevdsp.h
gserrors.h
iapi.h
ierrors.h
lib/
libgs.so
libgs.so.%%SOMAJOR%%
libgs.so.%%SOVERSION%%
share/cmap/
Identity-H
Identity-UTF16-H
Identity-V
share/color/icc/ghostscript/
a98.icc
default_cmyk.icc
default_gray.icc
default_rgb.icc
esrgb.icc
gray_to_k.icc
lab.icc
ps_cmyk.icc
ps_gray.icc
ps_rgb.icc
rommrgb.icc
scrgb.icc
sgray.icc
srgb.icc
share/ghostscript/%%GV%%/iccprofiles
share/ghostscript/%%GV%%/Resource/CMap
share/ghostscript/%%GV%%/Resource/CIDFSubst/DroidSansFallback.ttf
share/ghostscript/%%GV%%/Resource/CIDFont/ArtifexBullet
share/ghostscript/%%GV%%/Resource/ColorSpace/
DefaultCMYK
DefaultGray
DefaultRGB
TrivialCMYK
sGray
sRGB
share/ghostscript/%%GV%%/Resource/Decoding/
FCO_Dingbats
FCO_Symbol
FCO_Unicode
FCO_Wingdings
Latin1
StandardEncoding
Unicode
share/ghostscript/%%GV%%/Resource/Encoding/
CEEncoding
ExpertEncoding
ExpertSubsetEncoding
NotDefEncoding
Wingdings
share/ghostscript/%%GV%%/Resource/Font/
C059-BdIta
C059-Bold
C059-Italic
C059-Roman
D050000L
NimbusMonoPS-Bold
NimbusMonoPS-BoldItalic
NimbusMonoPS-Italic
NimbusMonoPS-Regular
NimbusRoman-Bold
NimbusRoman-BoldItalic
NimbusRoman-Italic
NimbusRoman-Regular
NimbusSans-Bold
NimbusSans-BoldItalic
NimbusSans-Italic
NimbusSans-Regular
NimbusSansNarrow-Bold
NimbusSansNarrow-BoldOblique
NimbusSansNarrow-Oblique
NimbusSansNarrow-Regular
P052-Bold
P052-BoldItalic
P052-Italic
P052-Roman
StandardSymbolsPS
URWBookman-Demi
URWBookman-DemiItalic
URWBookman-Light
URWBookman-LightItalic
URWGothic-Book
URWGothic-BookOblique
URWGothic-Demi
URWGothic-DemiOblique
Z003-MediumItalic
share/ghostscript/%%GV%%/Resource/IdiomSet/
PPI_CUtils
Pscript5Idiom
share/ghostscript/%%GV%%/Resource/Init/
FAPIcidfmap
FAPIconfig
FAPIfontmap
FCOfontmap-PCLPS2
Fontmap
Fontmap.GS
cidfmap
gs_agl.ps
gs_btokn.ps
gs_cet.ps
gs_cff.ps
gs_cidcm.ps
gs_ciddc.ps
gs_cidfm.ps
gs_cidfn.ps
gs_cidtt.ps
gs_cmap.ps
gs_cspace.ps
gs_dbt_e.ps
gs_diskn.ps
gs_dps1.ps
gs_dps2.ps
gs_dscp.ps
gs_epsf.ps
gs_fapi.ps
gs_fntem.ps
gs_fonts.ps
gs_frsd.ps
gs_icc.ps
gs_il1_e.ps
gs_img.ps
gs_init.ps
gs_lev2.ps
gs_ll3.ps
gs_mex_e.ps
gs_mgl_e.ps
gs_mro_e.ps
gs_pdf_e.ps
gs_pdfwr.ps
gs_res.ps
gs_resmp.ps
gs_setpd.ps
gs_statd.ps
gs_std_e.ps
gs_sym_e.ps
gs_trap.ps
gs_ttf.ps
gs_typ32.ps
gs_typ42.ps
gs_type1.ps
gs_wan_e.ps
pdf_main.ps
xlatmap
share/ghostscript/%%GV%%/Resource/SubstCID/
CNS1-WMode
GB1-WMode
Japan1-WMode
Korea1-WMode
share/ghostscript/%%GV%%/lib/
PDFA_def.ps
PDFX_def.ps
PM760p.upp
PM760pl.upp
PM820p.upp
PM820pl.upp
Stc670p.upp
Stc670pl.upp
Stc680p.upp
Stc680pl.upp
Stc740p.upp
Stc740pl.upp
Stc760p.upp
Stc760pl.upp
Stc777p.upp
Stc777pl.upp
Stp720p.upp
Stp720pl.upp
Stp870p.upp
Stp870pl.upp
acctest.ps
align.ps
bj8.rpd
bj8gc12f.upp
bj8hg12f.upp
bj8oh06n.upp
bj8pa06n.upp
bj8pp12f.upp
bj8ts06n.upp
bjc6000a1.upp
bjc6000b1.upp
bjc610a0.upp
bjc610a1.upp
bjc610a2.upp
bjc610a3.upp
bjc610a4.upp
bjc610a5.upp
bjc610a6.upp
bjc610a7.upp
bjc610a8.upp
bjc610b1.upp
bjc610b2.upp
bjc610b3.upp
bjc610b4.upp
bjc610b6.upp
bjc610b7.upp
bjc610b8.upp
caption.ps
cbjc600.ppd
cbjc800.ppd
cdj550.upp
cdj690.upp
cdj690ec.upp
cid2code.ps
dnj750c.upp
dnj750m.upp
docie.ps
font2pcl.ps
ghostpdf.ppd
gs_ce_e.ps
gs_css_e.ps
gs_il2_e.ps
gs_kanji.ps
gs_ksb_e.ps
gs_l.xbm
gs_l.xpm
gs_l_m.xbm
gs_lgo_e.ps
gs_lgx_e.ps
gs_m.xbm
gs_m.xpm
gs_m_m.xbm
gs_s.xbm
gs_s.xpm
gs_s_m.xbm
gs_t.xbm
gs_t.xpm
gs_t_m.xbm
gs_wl1_e.ps
gs_wl2_e.ps
gs_wl5_e.ps
gslp.ps
gsnup.ps
ht_ccsto.ps
image-qa.ps
jispaper.ps
landscap.ps
lines.ps
mkcidfm.ps
necp2x.upp
necp2x6.upp
pdf2dsc.ps
pdf_info.ps
pf2afm.ps
pfbtopfa.ps
ppath.ps
pphs.ps
prfont.ps
printafm.ps
ps2ai.ps
ps2epsi.ps
ras1.upp
ras24.upp
ras3.upp
ras32.upp
ras4.upp
ras8m.upp
rollconv.ps
s400a1.upp
s400b1.upp
sharp.upp
sipixa6.upp
st640ih.upp
st640ihg.upp
st640p.upp
st640pg.upp
st640pl.upp
st640plg.upp
stc.upp
stc1520h.upp
stc2.upp
stc200_h.upp
stc2_h.upp
stc2s_h.upp
stc300.upp
stc300bl.upp
stc300bm.upp
stc500p.upp
stc500ph.upp
stc600ih.upp
stc600p.upp
stc600pl.upp
stc640p.upp
stc740ih.upp
stc800ih.upp
stc800p.upp
stc800pl.upp
stc_h.upp
stc_l.upp
stcany.upp
stcany_h.upp
stcinfo.ps
stcolor.ps
stocht.ps
traceimg.ps
traceop.ps
uninfo.ps
viewcmyk.ps
viewgif.ps
viewjpeg.ps
viewmiff.ps
viewpbm.ps
viewpcx.ps
viewps2a.ps
winmaps.ps
zeroline.ps
@dir lib/ghostscript/%%GV%%
[FILE:30:manifests/plist.x11]
lib/ghostscript/%%GV%%/X11.so
[FILE:239:manifests/plist.man]
share/man/man1/
dvipdf.1
eps2eps.1
gs.1
gsbj.1
gsdj.1
gsdj500.1
gslj.1
gslp.1
gsnd.1
pdf2dsc.1
pdf2ps.1
pf2afm.1
pfbtopfa.1
printafm.1
ps2ascii.1
ps2epsi.1
ps2pdf.1
ps2pdf12.1
ps2pdf13.1
ps2pdf14.1
ps2pdfwr.1
ps2ps.1
[FILE:84:manifests/plist.docs]
share/doc/ghostscript/%%GV%%/
GS9_Color_Management.pdf
Ghostscript.pdf
News.html
[FILE:2634:patches/patch-Resource_Init_cidfmap]
--- Resource/Init/cidfmap.orig 2024-03-07 08:41:29 UTC
+++ Resource/Init/cidfmap
@@ -37,6 +37,67 @@
% /ShinGo-Bold /HeiseiKakuGo-W5 ;
% /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
% /Ryumin-Medium << /FileType /TrueType /Path (c:/windows/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
+/Ryumin-Light << /FileType /TrueType /Path (Ryumin-Light) /SubfontID 0 /CSI [(Japan1) 6] >> ;
+/GothicBBB-Medium << /FileType /TrueType /Path (GothicBBB-Medium) /SubfontID 0 /CSI [(Japan1) 6] >> ;
+
+/Ryumin-Medium /Ryumin-Light ;
+/Ryumin-Regular /Ryumin-Light ;
+/RyuminPro-Light /Ryumin-Light ;
+
+/GothicBBBPro-Medium /GothicBBB-Medium ;
+
+/KozGoPro-Bold /GothicBBB-Medium ;
+/KozGoPro-Heavy /GothicBBB-Medium ;
+/KozGoPro-Medium /GothicBBB-Medium ;
+/KozGoPro-Regular /GothicBBB-Medium ;
+
+/KozMinPro-Bold /Ryumin-Light ;
+/KozMinPro-Light /Ryumin-Light ;
+/KozMinPro-Medium /Ryumin-Light ;
+/KozMinPro-Regular /Ryumin-Light ;
+
+/HiraKakuPro-W3 /GothicBBB-Medium ;
+/HiraKakuPro-W6 /GothicBBB-Medium ;
+/HiraKakuStd-W8 /GothicBBB-Medium ;
+
+/HiraMaruPro-W4 /GothicBBB-Medium ;
+
+/HiraMinPro-W3 /Ryumin-Light ;
+
+/HeiseiMin-W3 /Ryumin-Light ;
+/HeiseiKakuGo-W5 /GothicBBB-Medium ;
+
+/FutoMinA101-Bold /Ryumin-Light ;
+/FutoMinA101Pro-Bold /Ryumin-Light ;
+/FutoGoB101-Bold /GothicBBB-Medium ;
+/FutoGoB101Pro-Bold /GothicBBB-Medium ;
+
+/Jun101-Light /Ryumin-Light ;
+/Jun101Pro-Light /Ryumin-Light ;
+
+/MidashiGo-MB31 /GothicBBB-Medium ;
+/MidashiGoPro-MB31 /GothicBBB-Medium ;
+
+/MidashiMinPro-MA31 /Ryumin-Light ;
+
+/MS-Mincho /Ryumin-Light ;
+/MS-PMincho /Ryumin-Light ;
+/MS-Gothic /GothicBBB-Medium ;
+/MS-PGothic /GothicBBB-Medium ;
+
+%/Munhwa-Regular /Munhwa-Regular ;
+%/MunhwaGothic-Regular /MunhwaGothic-Regular ;
+%/Munhwa-Bold /Munhwa-Bold ;
+%/MunhwaGothic-Bold /MunhwaGothic-Bold ;
+
+/HYGoThic-Medium /MunhwaGothic-Regular ;
+/HYSMyeongJo-Medium /Munhwa-Regular ;
+/HYRGoThic-Medium /MunhwaGothic-Bold ;
+
+/STHeiti-Regular << /FileType /TrueType /Path (STHeiti-Regular) /SubfontID 0 /CSI [(CNS1) 5] >> ;
+/STSong-Light << /FileType /TrueType /Path (STSong-Light) /SubfontID 0 /CSI [(GB1) 5] >> ;
+/MSung-Light << /FileType /TrueType /Path (MSung-Light) /SubfontID 0 /CSI [(CNS1) 5] >> ;
+/MHei-Medium << /FileType /TrueType /Path (MHei-Medium) /SubfontID 0 /CSI [(GB1) 5] >> ;
%
% NOTE: (as of 9.56.0) The use of Postscript operators in the cidfmap file is now deprecated, for compatibility
% with (and security of) the PDF interpreter implemented in C (rather than Postscript). Thus operations such
[FILE:387:patches/patch-base_fapi__ft.c]
--- base/fapi_ft.c.orig 2024-03-07 08:41:29 UTC
+++ base/fapi_ft.c
@@ -60,6 +60,10 @@
#include FT_MULTIPLE_MASTERS_H
#include FT_TYPE1_TABLES_H
+#ifndef FT_CALLBACK_DEF
+#define FT_CALLBACK_DEF( x ) static x
+#endif
+
/* Note: structure definitions here start with FF_, which stands for 'FAPI FreeType". */
#define ft_emprintf(m,s) { outflush(m); emprintf(m, s); outflush(m); }
[FILE:244:patches/patch-base_ttobjs.h]
Avoid GS conflict on older SunOS.
--- base/ttobjs.h.orig 2024-03-07 08:41:29 UTC
+++ base/ttobjs.h
@@ -43,6 +43,10 @@
#include "setjmp_.h"
#include "ttfoutl.h"
+#ifdef __sun
+#undef GS
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
[FILE:1603:patches/patch-configure]
--- configure.orig 2024-03-07 08:41:29 UTC
+++ configure
@@ -5567,7 +5567,7 @@ case $host in
CC_VISIBILITY_FLAGS_TO_TRY="-fvisibility=hidden"
fi
;;
- *bsd*)
+ *bsd*|*dragonfly*)
if test x"$GCC" = x"yes"; then
CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
@@ -6927,7 +6927,6 @@ then :
printf %s "(cached) " >&6
else $as_nop
ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldl $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -6960,7 +6959,7 @@ then :
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
if test "x$ac_cv_header_dlfcn_h" = xyes
then :
- GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1";LIBS="-ldl $LIBS"
+ GCFLAGS="$GCFLAGS -DHAVE_LIBDL=1"
fi
@@ -13269,7 +13268,7 @@ case $host in
GPDL_SONAME_MAJOR="lib\$(GPDL${libname3}"
GPDL_SONAME_MAJOR_MINOR="cyg\$(GPDL${libname2}"
;;
- *bsd*)
+ *bsd*|*dragonfly*)
DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)"
PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)"
@@ -13388,7 +13387,7 @@ then :
OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS"
DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS"
;;
- *bsd*)
+ *bsd*|*dragonfly*)
DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so"
DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
X11_DEVS=""