1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Support CFLAGS properly

- Do not install useless .la file

PR:		ports/57352
Submitted By:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Oliver Lehmann 2003-09-29 19:38:33 +00:00
parent e188eff6db
commit 8e353ac558
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89834
6 changed files with 42 additions and 10 deletions

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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