aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/lzo2
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/lzo2')
-rw-r--r--archivers/lzo2/Makefile2
-rw-r--r--archivers/lzo2/files/patch-ac11
-rw-r--r--archivers/lzo2/files/patch-configure19
-rw-r--r--archivers/lzo2/pkg-plist1
4 files changed, 21 insertions, 12 deletions
diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile
index 401c8754cea1..27fda7279f7b 100644
--- a/archivers/lzo2/Makefile
+++ b/archivers/lzo2/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/lzo2/files/patch-ac b/archivers/lzo2/files/patch-ac
deleted file mode 100644
index 7a84bd9b9bde..000000000000
--- a/archivers/lzo2/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/lzo2/files/patch-configure b/archivers/lzo2/files/patch-configure
new file mode 100644
index 000000000000..a47c801685cd
--- /dev/null
+++ b/archivers/lzo2/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/lzo2/pkg-plist b/archivers/lzo2/pkg-plist
index b0b028b71024..de5fcf20f09b 100644
--- a/archivers/lzo2/pkg-plist
+++ b/archivers/lzo2/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