diff --git a/package/rene/xfig/xfig.conf b/package/rene/xfig/xfig.conf index 96085acec..b44c72aa1 100644 --- a/package/rene/xfig/xfig.conf +++ b/package/rene/xfig/xfig.conf @@ -23,4 +23,8 @@ var_append makeopt " " "DUSEPNG='-DUSE_PNG -I/usr/include/libpng' xfig xfig.1x.html" var_append makeinstopt " " "install.doc" var_append makeinstopt " " "install.libs" - +pkginstalled xaw3d && \ + hook_add preconf 3 "sed -i -e 's,XCOMM #define XAW3D,#define XAW3D,' Imakefile" +hook_add preconf 3 "sed -i -e 's,XCOMM #define WHEELMOUSE,#define WHEELMOUSE,' Imakefile" +hook_add preconf 3 "sed -i -e 's,XCOMM #define USEXPM,#define USEXPM,' Imakefile" +hook_add preconf 3 "sed -i -e 's,XCOMM #define USEXPM_ICON,#define USEXPM_ICON,' Imakefile"