summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2005-01-30 07:54:08 +0000
committerMaho Nakata <maho@FreeBSD.org>2005-01-30 07:54:08 +0000
commit19714b8e175f4c7ebf7927af686c46fa1ded0b2e (patch)
treea4a5e428ff4a352155e8de353c4bc4059eb7cca2
parentFix the "broken" dependency by checking for the existence of the right (diff)
Unbreak for FreeBSD >=5.x
Submitted by: linimon
Notes
Notes: svn path=/head/; revision=127687
-rw-r--r--science/ghemical/Makefile4
-rw-r--r--science/ghemical/files/patch-src+graphics+objects.h11
2 files changed, 11 insertions, 4 deletions
diff --git a/science/ghemical/Makefile b/science/ghemical/Makefile
index 5b176ffc48ac..23f22d5bfd44 100644
--- a/science/ghemical/Makefile
+++ b/science/ghemical/Makefile
@@ -30,10 +30,6 @@ USE_AUTOCONF_VER= 253
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
pre-configure:
@cd ${WRKDIR}/${DISTNAME} ; ${AUTOCONF}
diff --git a/science/ghemical/files/patch-src+graphics+objects.h b/science/ghemical/files/patch-src+graphics+objects.h
new file mode 100644
index 000000000000..494ed341489d
--- /dev/null
+++ b/science/ghemical/files/patch-src+graphics+objects.h
@@ -0,0 +1,11 @@
+--- src/graphics/objects.h~ Sat Dec 29 23:56:49 2001
++++ src/graphics/objects.h Sun Jan 30 16:05:29 2005
+@@ -88,8 +88,6 @@
+ void SetModelView(void) const;
+ const obj_loc_data * GetLocData(void) const;
+
+- protected:
+-
+ obj_loc_data * GetLocDataRW(void) const;
+
+ public: