diff --git a/package/public/xfig/xfig.conf b/package/public/xfig/xfig.conf index 890599df2..615c9749c 100644 --- a/package/public/xfig/xfig.conf +++ b/package/public/xfig/xfig.conf @@ -24,7 +24,9 @@ var_append makeopt " " "DUSEPNG='-DUSE_PNG -I/usr/include/libpng' xfig xfig.1x.h 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 XAW3D1_5E\),\1,' Imakefile" + hook_add preconf 3 "sed -i -e 's,-lXaw3d15e,-lXaw3d,' 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"