summaryrefslogtreecommitdiffstats
path: root/archivers/lzo
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/lzo')
-rw-r--r--archivers/lzo/Makefile2
-rw-r--r--archivers/lzo/files/patch-ac11
-rw-r--r--archivers/lzo/files/patch-configure19
-rw-r--r--archivers/lzo/pkg-plist1
4 files changed, 21 insertions, 12 deletions
diff --git a/archivers/lzo/Makefile b/archivers/lzo/Makefile
index 401c875..27fda72 100644
--- a/archivers/lzo/Makefile
+++ b/archivers/lzo/Makefile
@@ -7,6 +7,7 @@
PORTNAME= lzo
PORTVERSION= 1.08
+PORTREVISION= 1
CATEGORIES= archivers devel
MASTER_SITES= http://www.oberhumer.com/opensource/lzo/download/ \
${MASTER_SITE_SUNSITE}
@@ -15,6 +16,7 @@ MASTER_SITE_SUBDIR= libs/compression
MAINTAINER= ports@FreeBSD.org
USE_LIBTOOL= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
INSTALLS_SHLIB= yes
diff --git a/archivers/lzo/files/patch-ac b/archivers/lzo/files/patch-ac
deleted file mode 100644
index 7a84bd9..0000000
--- a/archivers/lzo/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Sun Jul 14 10:29:10 2002
-+++ configure Sun Jul 14 10:30:32 2002
-@@ -12064,7 +12064,7 @@
- if test "X$enable_debug" = Xyes; then
- CFLAGS="$CFLAGS -O0"
- else
-- CFLAGS="$CFLAGS -O2"
-+ CFLAGS="$CFLAGS"
- fi
- CFLAGS="$CFLAGS -Wall -Wcast-align -Wcast-qual -Wwrite-strings"
- case $MFX_CPU in
diff --git a/archivers/lzo/files/patch-configure b/archivers/lzo/files/patch-configure
new file mode 100644
index 0000000..a47c801
--- /dev/null
+++ b/archivers/lzo/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Sat Jul 13 10:31:52 2002
++++ configure Tue Jul 16 04:08:48 2002
+@@ -7991,6 +7991,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -12064,7 +12065,7 @@
+ if test "X$enable_debug" = Xyes; then
+ CFLAGS="$CFLAGS -O0"
+ else
+- CFLAGS="$CFLAGS -O2"
++ CFLAGS="$CFLAGS"
+ fi
+ CFLAGS="$CFLAGS -Wall -Wcast-align -Wcast-qual -Wwrite-strings"
+ case $MFX_CPU in
diff --git a/archivers/lzo/pkg-plist b/archivers/lzo/pkg-plist
index b0b028b..de5fcf2 100644
--- a/archivers/lzo/pkg-plist
+++ b/archivers/lzo/pkg-plist
@@ -11,7 +11,6 @@ include/lzo2a.h
include/lzoconf.h
include/lzoutil.h
lib/liblzo.a
-lib/liblzo.la
lib/liblzo.so
lib/liblzo.so.1
%%PORTDOCS%%share/doc/lzo/LTEST.TXT
OpenPOWER on IntegriCloud