aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvas-libnasl
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-06-08 21:20:15 +0800
committerpav <pav@FreeBSD.org>2008-06-08 21:20:15 +0800
commit6c57f99fa48cabfba1d535bfc504e304ece742be (patch)
treeb65326082cacbcdb1ea7e86c58b1f02b263bb8c7 /security/openvas-libnasl
parent2564e8e4b0326543c3fd61e50a499ad04e7054a8 (diff)
downloadfreebsd-ports-gnome-6c57f99fa48cabfba1d535bfc504e304ece742be.tar.gz
freebsd-ports-gnome-6c57f99fa48cabfba1d535bfc504e304ece742be.tar.zst
freebsd-ports-gnome-6c57f99fa48cabfba1d535bfc504e304ece742be.zip
- Fix build on 7.x (objformat removal)
- Move Makefile.common from server to libraries port - Minor fixes PR: ports/124331 ports/124335-7 ports/124371 Submitted by: Tomoyuki Sakurai <cherry@trombik.org> (maintainer)
Diffstat (limited to 'security/openvas-libnasl')
-rw-r--r--security/openvas-libnasl/Makefile2
-rw-r--r--security/openvas-libnasl/files/patch-configure12
2 files changed, 13 insertions, 1 deletions
diff --git a/security/openvas-libnasl/Makefile b/security/openvas-libnasl/Makefile
index a081a3d336d1..ea70c641c542 100644
--- a/security/openvas-libnasl/Makefile
+++ b/security/openvas-libnasl/Makefile
@@ -29,6 +29,6 @@ USE_BISON= build
MAN1= openvas-libnasl-config.1 openvas-nasl.1
-.include "${.CURDIR}/../../security/openvas-server/Makefile.common"
+.include "${.CURDIR}/../../security/openvas-libraries/Makefile.common"
.include <bsd.port.mk>
diff --git a/security/openvas-libnasl/files/patch-configure b/security/openvas-libnasl/files/patch-configure
new file mode 100644
index 000000000000..cbf67bba1ca7
--- /dev/null
+++ b/security/openvas-libnasl/files/patch-configure
@@ -0,0 +1,12 @@
+remove obsolete objformat
+--- configure.orig 2008-06-06 11:23:51.000000000 +0900
++++ configure 2008-06-06 11:24:15.000000000 +0900
+@@ -6339,7 +6339,7 @@
+
+ freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+- version_type=freebsd-$objformat
++ version_type=freebsd-elf
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'