summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-07-30 18:48:41 +0000
committerkrion <krion@FreeBSD.org>2003-07-30 18:48:41 +0000
commit9b8f7671eddbd3e005d03a94071b584e0ff67e88 (patch)
tree444a30d1e8dfc693108ff5be37b054bb1ebd30ae
parent8542c436d655987058b34a61ed63922e4ffcdb38 (diff)
downloadFreeBSD-ports-9b8f7671eddbd3e005d03a94071b584e0ff67e88.zip
FreeBSD-ports-9b8f7671eddbd3e005d03a94071b584e0ff67e88.tar.gz
* Do not install useless .la file
* Utilize USE_GNOME PR: 55053 Submitted by: Ports Fury Approved by: fjoe (mentor) (implicit)
-rw-r--r--databases/dbh/Makefile13
-rw-r--r--databases/dbh/files/patch-configure10
-rw-r--r--databases/dbh/pkg-plist4
-rw-r--r--databases/dbh10/Makefile13
-rw-r--r--databases/dbh10/files/patch-configure10
-rw-r--r--databases/dbh10/pkg-plist4
6 files changed, 28 insertions, 26 deletions
diff --git a/databases/dbh/Makefile b/databases/dbh/Makefile
index 1c9bdc9..3b00f9b 100644
--- a/databases/dbh/Makefile
+++ b/databases/dbh/Makefile
@@ -8,6 +8,7 @@
PORTNAME= dbh
PORTVERSION= 1.0.14
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,17 +18,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Disk Based Hashtables
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
-RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
-
-USE_REINPLACE= yes
+USE_GNOME= gnomehack gnometarget pkgconfig
USE_LIBTOOL= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+LIBTOOLFLAGS= --disable-ltlibs --release-ignore
INSTALLS_SHLIB= yes
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|libdir[)]/pkgconfig|prefix)/libdata/pkgconfig|g' \
- ${WRKSRC}/src/Makefile.in
-
.include <bsd.port.mk>
diff --git a/databases/dbh/files/patch-configure b/databases/dbh/files/patch-configure
new file mode 100644
index 0000000..d2359bc
--- /dev/null
+++ b/databases/dbh/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Mon Mar 17 12:08:31 2003
++++ configure Wed Jul 30 20:58:14 2003
+@@ -7349,6 +7349,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'
diff --git a/databases/dbh/pkg-plist b/databases/dbh/pkg-plist
index b2480da..cafc578 100644
--- a/databases/dbh/pkg-plist
+++ b/databases/dbh/pkg-plist
@@ -2,9 +2,7 @@
include/dbh.h
include/dbh_config.h
include/dbh_functions.h
-lib/libdbh-1.0.so
-lib/libdbh-1.0.so.1
lib/libdbh.a
-lib/libdbh.la
lib/libdbh.so
+lib/libdbh.so.1
libdata/pkgconfig/dbh-1.0.pc
diff --git a/databases/dbh10/Makefile b/databases/dbh10/Makefile
index 1c9bdc9..3b00f9b 100644
--- a/databases/dbh10/Makefile
+++ b/databases/dbh10/Makefile
@@ -8,6 +8,7 @@
PORTNAME= dbh
PORTVERSION= 1.0.14
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,17 +18,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Disk Based Hashtables
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
-RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
-
-USE_REINPLACE= yes
+USE_GNOME= gnomehack gnometarget pkgconfig
USE_LIBTOOL= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+LIBTOOLFLAGS= --disable-ltlibs --release-ignore
INSTALLS_SHLIB= yes
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|libdir[)]/pkgconfig|prefix)/libdata/pkgconfig|g' \
- ${WRKSRC}/src/Makefile.in
-
.include <bsd.port.mk>
diff --git a/databases/dbh10/files/patch-configure b/databases/dbh10/files/patch-configure
new file mode 100644
index 0000000..d2359bc
--- /dev/null
+++ b/databases/dbh10/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Mon Mar 17 12:08:31 2003
++++ configure Wed Jul 30 20:58:14 2003
+@@ -7349,6 +7349,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'
diff --git a/databases/dbh10/pkg-plist b/databases/dbh10/pkg-plist
index b2480da..cafc578 100644
--- a/databases/dbh10/pkg-plist
+++ b/databases/dbh10/pkg-plist
@@ -2,9 +2,7 @@
include/dbh.h
include/dbh_config.h
include/dbh_functions.h
-lib/libdbh-1.0.so
-lib/libdbh-1.0.so.1
lib/libdbh.a
-lib/libdbh.la
lib/libdbh.so
+lib/libdbh.so.1
libdata/pkgconfig/dbh-1.0.pc
OpenPOWER on IntegriCloud