diff --git a/srcpkgs/hnb/template b/srcpkgs/hnb/template index c6aef23fc3e..5721e32d121 100644 --- a/srcpkgs/hnb/template +++ b/srcpkgs/hnb/template @@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz" checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4 +CFLAGS="-fcommon" + post_extract() { sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile