From 57e928e953b5a66102bddfa1f6ffc54dbbe40b50 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Fri, 27 Apr 2007 13:38:09 +0000 Subject: [PATCH] - we don't have a "lib64" directory --- devel/pwlib/Makefile | 4 ++-- devel/pwlib/patches/patch-configure | 24 ++++++++++++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile index b302c18c1bd..eb7e612110e 100644 --- a/devel/pwlib/Makefile +++ b/devel/pwlib/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2007/04/25 11:12:26 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.2 2007/04/27 13:38:09 ajacoutot Exp $ SHARED_ONLY= Yes COMMENT= "portable Windows library" DISTNAME= pwlib-v1_10_3 -PKGNAME= pwlib-1.10.3 +PKGNAME= pwlib-1.10.3p0 CATEGORIES= devel EXTRACT_SUFX= -src-tar.gz diff --git a/devel/pwlib/patches/patch-configure b/devel/pwlib/patches/patch-configure index bbe59a5f101..9495871838b 100644 --- a/devel/pwlib/patches/patch-configure +++ b/devel/pwlib/patches/patch-configure @@ -1,6 +1,6 @@ -$OpenBSD: patch-configure,v 1.1.1.1 2007/04/25 11:12:26 ajacoutot Exp $ +$OpenBSD: patch-configure,v 1.2 2007/04/27 13:38:09 ajacoutot Exp $ --- configure.orig Wed Feb 22 12:53:28 2006 -+++ configure Mon Apr 23 16:59:26 2007 ++++ configure Fri Apr 27 15:28:49 2007 @@ -1951,7 +1951,7 @@ LIBDIR=${libdir} MAJOR_VERSION=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '` MINOR_VERSION=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '` @@ -34,3 +34,23 @@ $OpenBSD: patch-configure,v 1.1.1.1 2007/04/25 11:12:26 ajacoutot Exp $ ; return 0; } +@@ -5495,19 +5499,9 @@ fi + + + +-if test "x$LIB64" != "x" ; then +- + cat >>confdefs.h <<_ACEOF +-#define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib64/pwlib" +-_ACEOF +- +-else +- +-cat >>confdefs.h <<_ACEOF + #define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib/pwlib" + _ACEOF +- +-fi + + +