pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Dblatex hard dependency on xfig



Am 2014-12-06 00:20, schrieb Thomas Klausner:

If it's really optional, I suggest making xfig a default-on option,
then you can easily disable it if you want to. Want to give it a try?
 Thomas

I made it a default off option. I suggest the following changes:

cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/dblatex/Makefile,v
retrieving revision 1.17
diff -r1.17 Makefile
16d15
< DEPENDS+=     transfig-[0-9]*:../../print/transfig
34a34,35
.include "options.mk"



and here is:

achilles# cat options.mk
PKG_OPTIONS_VAR=                PKG_OPTIONS.dblatex
PKG_SUPPORTED_OPTIONS=          transfig
PKG_SUGGESTED_OPTIONS=

.include "../../mk/bsd.prefs.mk"

.include "../../mk/bsd.options.mk"

###
### transfig support
###
.if !empty(PKG_OPTIONS:Mtransfig)
DEPENDS+=      transfig-[0-9]*:../../print/transfig
.endif



Home | Main Index | Thread Index | Old Index