1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

fix build on -current

PR:		46463
Submitted by:	Ports Fury
This commit is contained in:
Ying-Chieh Liao 2002-12-22 13:30:02 +00:00
parent e46f0a88fc
commit 3954f0c130
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71783
3 changed files with 27 additions and 1 deletions

View File

@ -18,7 +18,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= mm.12:${PORTSDIR}/devel/mm
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig Wed Jul 10 22:28:42 2002
+++ Makefile.in Sun Dec 15 06:00:55 2002
@@ -78,7 +78,7 @@
am__quote = @am__quote@
install_sh = @install_sh@
-SUBDIRS = mm-1.1.3 shmap
+SUBDIRS = shmap
include_HEADERS = shmap_config.h
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4

View File

@ -0,0 +1,15 @@
--- shmap/Makefile.in.orig Wed Jul 10 22:28:42 2002
+++ shmap/Makefile.in Sun Dec 15 06:02:36 2002
@@ -80,10 +80,10 @@
lib_LTLIBRARIES = libshmap.la
libshmap_la_SOURCES = core.c mem_core.c shmap.c shmap_hm.c shmap_ll.c shmap_value.c shmap_btree.c shmap_fifo.c pool.c
-libshmap_la_LIBADD = -L../mm-1.1.3 -lmm
+libshmap_la_LIBADD = -lmm
noinst_HEADERS = core.h mem_core.h shmap_hm.h shmap_ll.h shmap_value.h shmap_btree.h shmap_fifo.h pool.h shmap_internals.h
include_HEADERS = shmap.h
-CFLAGS = -Wall -g -O2 -I../mm-1.1.3
+CFLAGS = @CFLAGS@
subdir = shmap
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/shmap_config.h