aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-09 05:06:55 +0800
committerkrion <krion@FreeBSD.org>2004-02-09 05:06:55 +0800
commitdb38b182ac763b3a409c6aad718977311bbec222 (patch)
tree2785ed5bbf89ea9161824e2b389893a01a048ad8 /devel
parentd81db6d167ee6b5943b28518819e6f7c65509752 (diff)
downloadfreebsd-ports-gnome-db38b182ac763b3a409c6aad718977311bbec222.tar.gz
freebsd-ports-gnome-db38b182ac763b3a409c6aad718977311bbec222.tar.zst
freebsd-ports-gnome-db38b182ac763b3a409c6aad718977311bbec222.zip
- Fix build on AMD64
- Utilize DOCSDIR and INFO knobs - Bump PORTREVISION Approved by: maintainer informed
Diffstat (limited to 'devel')
-rw-r--r--devel/dmalloc/Makefile10
-rw-r--r--devel/dmalloc/pkg-plist9
2 files changed, 11 insertions, 8 deletions
diff --git a/devel/dmalloc/Makefile b/devel/dmalloc/Makefile
index 5634cf088005..24483c8bd71a 100644
--- a/devel/dmalloc/Makefile
+++ b/devel/dmalloc/Makefile
@@ -6,6 +6,7 @@
PORTNAME= dmalloc
PORTVERSION= 5.2.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dmalloc
@@ -14,13 +15,18 @@ EXTRACT_SUFX= .tgz
MAINTAINER= jeremy@external.org
COMMENT= Portable debug memory allocation library
-INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-USE_REINPLACE= yes
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-threads --enable-shlib
+CFLAGS+= -fPIC
+USE_REINPLACE= yes
+INSTALLS_SHLIB= yes
ALL_TARGET= all heavy
INSTALL_TARGET= install
+
+INFO= dmalloc
+
.if !defined(NOPORTDOCS)
INSTALL_TARGET+=installdocs installinfo
.endif
diff --git a/devel/dmalloc/pkg-plist b/devel/dmalloc/pkg-plist
index 85949ab8e272..73dfbdd1a405 100644
--- a/devel/dmalloc/pkg-plist
+++ b/devel/dmalloc/pkg-plist
@@ -1,9 +1,6 @@
@comment $FreeBSD$
bin/dmalloc
include/dmalloc.h
-@unexec install-info --delete %D/info/dmalloc.info %D/info/dir
-info/dmalloc.info
-@exec install-info %D/info/dmalloc.info %D/info/dir
lib/libdmalloc.a
lib/libdmalloc.so
lib/libdmalloc.so.1
@@ -16,6 +13,6 @@ lib/libdmallocthcxx.so.1
lib/libdmallocxx.a
lib/libdmallocxx.so
lib/libdmallocxx.so.1
-share/doc/dmalloc/dmalloc.html
-share/doc/dmalloc/dmalloc.texi
-@dirrm share/doc/dmalloc
+%%PORTDOCS%%%%DOCSDIR%%/dmalloc.html
+%%PORTDOCS%%%%DOCSDIR%%/dmalloc.texi
+%%PORTDOCS%%@dirrm %%DOCSDIR%%