diff options
author | ache <ache@FreeBSD.org> | 2007-04-04 23:09:44 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2007-04-04 23:09:44 +0800 |
commit | 4aa52d0d4d1cdeec754b748ff794ce741905f14b (patch) | |
tree | b93d62bb758771149b80d9b9d4d23245963a5844 | |
parent | 881315963ad3557b50208ce890a18232ab2a4974 (diff) | |
download | freebsd-ports-gnome-4aa52d0d4d1cdeec754b748ff794ce741905f14b.tar.gz freebsd-ports-gnome-4aa52d0d4d1cdeec754b748ff794ce741905f14b.tar.zst freebsd-ports-gnome-4aa52d0d4d1cdeec754b748ff794ce741905f14b.zip |
Fix objformat problem
-rw-r--r-- | www/apache13/Makefile | 2 | ||||
-rw-r--r-- | www/apache13/files/patch-ae | 23 |
2 files changed, 20 insertions, 5 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile index 47230399e0e9..2e86396ecd59 100644 --- a/www/apache13/Makefile +++ b/www/apache13/Makefile @@ -7,7 +7,7 @@ PORTNAME= apache PORTVERSION= 1.3.37 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} DISTNAME= apache_${PORTVERSION} diff --git a/www/apache13/files/patch-ae b/www/apache13/files/patch-ae index 5a34a8b90afc..3aecfbb7a542 100644 --- a/www/apache13/files/patch-ae +++ b/www/apache13/files/patch-ae @@ -1,11 +1,26 @@ ---- src/Configure.bak Thu Sep 16 03:45:17 2004 -+++ src/Configure Mon Oct 25 17:59:48 2004 -@@ -456,7 +456,7 @@ +--- src/Configure.orig Wed Jul 12 12:16:05 2006 ++++ src/Configure Wed Apr 4 19:03:41 2007 +@@ -457,7 +457,7 @@ PLATOSVERS=`echo $PLAT | sed 's/^.*freebsd//'` OS="FreeBSD $PLATOSVERS" case "$PLATOSVERS" in - [2345]*) -+ [2-9]*) ++ *) DEF_WANTHSREGEX=no CFLAGS="$CFLAGS -funsigned-char" ;; +@@ -1083,14 +1083,8 @@ + CFLAGS_SHLIB="-fpic" + LDFLAGS_SHLIB="-shared" + LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB +- OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` +- if [ "x$OBJFORMAT" = "xelf" ]; then + LDFLAGS_SHLIB_EXPORT="-Wl,-E" + SHLIB_SUFFIX_DEPTH=0 +- else +- LDFLAGS_SHLIB_EXPORT="" +- SHLIB_SUFFIX_DEPTH=2 +- fi + ;; + *-openbsd*) + PLATOSVERS=`echo $PLAT | sed 's/^.*openbsd//'` |