aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2010-10-04 23:02:15 +0800
committerfjoe <fjoe@FreeBSD.org>2010-10-04 23:02:15 +0800
commitd824740400ec9f930e230fd3f367a60e1d364fd3 (patch)
treeb1811ca461275bebbb2a2f91e60590527ce4806f /misc
parent6a972d0c9255fb0a598b5e86919043ffa4c5ebbd (diff)
downloadfreebsd-ports-gnome-d824740400ec9f930e230fd3f367a60e1d364fd3.tar.gz
freebsd-ports-gnome-d824740400ec9f930e230fd3f367a60e1d364fd3.tar.zst
freebsd-ports-gnome-d824740400ec9f930e230fd3f367a60e1d364fd3.zip
Unbreak on sparc64.
Approved by: MAINTAINER
Diffstat (limited to 'misc')
-rw-r--r--misc/libpri/Makefile8
-rw-r--r--misc/libpri/files/patch-Makefile2
2 files changed, 2 insertions, 8 deletions
diff --git a/misc/libpri/Makefile b/misc/libpri/Makefile
index 19fb33d66559..000570459a21 100644
--- a/misc/libpri/Makefile
+++ b/misc/libpri/Makefile
@@ -20,10 +20,4 @@ PLIST_FILES= include/libpri.h lib/libpri.a lib/libpri.so \
ONLY_FOR_ARCHS= amd64 i386 sparc64
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/libpri/files/patch-Makefile b/misc/libpri/files/patch-Makefile
index a452148bc943..98a81846aa93 100644
--- a/misc/libpri/files/patch-Makefile
+++ b/misc/libpri/files/patch-Makefile
@@ -26,7 +26,7 @@ $FreeBSD$
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS)
-INSTALL_PREFIX=$(DESTDIR)
-INSTALL_BASE=/usr
-+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
++CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
+INSTALL_PREFIX=$(PREFIX)
+INSTALL_BASE=
libdir?=$(INSTALL_BASE)/lib