aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-09-30 03:38:33 +0800
committeroliver <oliver@FreeBSD.org>2003-09-30 03:38:33 +0800
commit63fb5b71bbf047cb161d43707f65bfc31e503c9e (patch)
tree448e612a8730ac66ee8c5c1f4359c7d32fc76be5 /devel
parent4ec7cc7627985edccf634f854ded47093a79365e (diff)
downloadfreebsd-ports-gnome-63fb5b71bbf047cb161d43707f65bfc31e503c9e.tar.gz
freebsd-ports-gnome-63fb5b71bbf047cb161d43707f65bfc31e503c9e.tar.zst
freebsd-ports-gnome-63fb5b71bbf047cb161d43707f65bfc31e503c9e.zip
- Support CFLAGS properly
- Do not install useless .la file PR: ports/57352 Submitted By: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/physfs-devel/Makefile5
-rw-r--r--devel/physfs-devel/files/patch-configure19
-rw-r--r--devel/physfs-devel/pkg-plist2
-rw-r--r--devel/physfs/Makefile5
-rw-r--r--devel/physfs/files/patch-configure19
-rw-r--r--devel/physfs/pkg-plist2
6 files changed, 42 insertions, 10 deletions
diff --git a/devel/physfs-devel/Makefile b/devel/physfs-devel/Makefile
index ac3218f4522f..b75f55f3c1c8 100644
--- a/devel/physfs-devel/Makefile
+++ b/devel/physfs-devel/Makefile
@@ -7,16 +7,15 @@
PORTNAME= physfs
PORTVERSION= 0.1.9
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://icculus.org/${PORTNAME}/downloads/
MAINTAINER= oliver@FreeBSD.org
COMMENT= A library to provide abstract access to various archives
+USE_GNOME= gnometarget
USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-CONFIGURE_ARGS= --program-transform-name=''
INSTALLS_SHLIB= yes
.include <bsd.port.mk>
diff --git a/devel/physfs-devel/files/patch-configure b/devel/physfs-devel/files/patch-configure
new file mode 100644
index 000000000000..4647a1c1a52e
--- /dev/null
+++ b/devel/physfs-devel/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Sat Sep 13 11:29:31 2003
++++ configure Mon Sep 29 18:37:43 2003
+@@ -7357,6 +7357,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'
+@@ -7420,7 +7421,7 @@
+ EOF
+
+ else
+- PHYSFSCFLAGS="-O2"
++ PHYSFSCFLAGS=""
+
+ cat >>confdefs.h <<\EOF
+ #define NDEBUG 1
diff --git a/devel/physfs-devel/pkg-plist b/devel/physfs-devel/pkg-plist
index ea9bf5df758c..e796dd4a03d4 100644
--- a/devel/physfs-devel/pkg-plist
+++ b/devel/physfs-devel/pkg-plist
@@ -1,7 +1,5 @@
bin/test_physfs
include/physfs.h
lib/libphysfs-0.1.so.9
-lib/libphysfs-0.1.so
lib/libphysfs.so
-lib/libphysfs.la
lib/libphysfs.a
diff --git a/devel/physfs/Makefile b/devel/physfs/Makefile
index ac3218f4522f..b75f55f3c1c8 100644
--- a/devel/physfs/Makefile
+++ b/devel/physfs/Makefile
@@ -7,16 +7,15 @@
PORTNAME= physfs
PORTVERSION= 0.1.9
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://icculus.org/${PORTNAME}/downloads/
MAINTAINER= oliver@FreeBSD.org
COMMENT= A library to provide abstract access to various archives
+USE_GNOME= gnometarget
USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-CONFIGURE_ARGS= --program-transform-name=''
INSTALLS_SHLIB= yes
.include <bsd.port.mk>
diff --git a/devel/physfs/files/patch-configure b/devel/physfs/files/patch-configure
new file mode 100644
index 000000000000..4647a1c1a52e
--- /dev/null
+++ b/devel/physfs/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Sat Sep 13 11:29:31 2003
++++ configure Mon Sep 29 18:37:43 2003
+@@ -7357,6 +7357,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'
+@@ -7420,7 +7421,7 @@
+ EOF
+
+ else
+- PHYSFSCFLAGS="-O2"
++ PHYSFSCFLAGS=""
+
+ cat >>confdefs.h <<\EOF
+ #define NDEBUG 1
diff --git a/devel/physfs/pkg-plist b/devel/physfs/pkg-plist
index ea9bf5df758c..e796dd4a03d4 100644
--- a/devel/physfs/pkg-plist
+++ b/devel/physfs/pkg-plist
@@ -1,7 +1,5 @@
bin/test_physfs
include/physfs.h
lib/libphysfs-0.1.so.9
-lib/libphysfs-0.1.so
lib/libphysfs.so
-lib/libphysfs.la
lib/libphysfs.a